USN-4581-1: Python vulnerability
It was discovered that Python incorrectly handled certain character sequences. A remote attacker could possibly use this issue to perform CRLF injection.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/python2.7to a version that resolves this vulnerability.Fixed in 2.7.17-1~18.04ubuntu1.2 - Upgrade
Upgrade
ubuntu/python2.7-minimalto a version that resolves this vulnerability.Fixed in 2.7.17-1~18.04ubuntu1.2 - Upgrade
Upgrade
ubuntu/python3.6to a version that resolves this vulnerability.Fixed in 3.6.9-1~18.04ubuntu1.3 - Upgrade
Upgrade
ubuntu/python3.6-minimalto a version that resolves this vulnerability.Fixed in 3.6.9-1~18.04ubuntu1.3 - Upgrade
Upgrade
ubuntu/python2.7to a version that resolves this vulnerability.Fixed in 2.7.12-1ubuntu0~16.04.13 - Upgrade
Upgrade
ubuntu/python2.7-minimalto a version that resolves this vulnerability.Fixed in 2.7.12-1ubuntu0~16.04.13 - Upgrade
Upgrade
ubuntu/python3.5to a version that resolves this vulnerability.Fixed in 3.5.2-2ubuntu0~16.04.12 - Upgrade
Upgrade
ubuntu/python3.5-minimalto a version that resolves this vulnerability.Fixed in 3.5.2-2ubuntu0~16.04.12 - Upgrade
Upgrade
ubuntu/python2.7to a version that resolves this vulnerability.Fixed in 2.7.6-8ubuntu0.6+esm7 - Upgrade
Upgrade
ubuntu/python2.7-minimalto a version that resolves this vulnerability.Fixed in 2.7.6-8ubuntu0.6+esm7 - Upgrade
Upgrade
ubuntu/python3.4to a version that resolves this vulnerability.Fixed in 3.4.3-1ubuntu1~14.04.7+esm8 - Upgrade
Upgrade
ubuntu/python3.4-minimalto a version that resolves this vulnerability.Fixed in 3.4.3-1ubuntu1~14.04.7+esm8 - Upgrade
Upgrade
ubuntu/python2.7to a version that resolves this vulnerability.Fixed in 2.7.3-0ubuntu3.19 - Upgrade
Upgrade
ubuntu/python2.7-minimalto a version that resolves this vulnerability.Fixed in 2.7.3-0ubuntu3.19
Frequently Asked Questions
What is the vulnerability ID of this Python vulnerability?
The vulnerability ID of this Python vulnerability is USN-4581-1.
What is the impact of this vulnerability?
This vulnerability allows a remote attacker to perform CRLF injection.
Which versions of Python are affected by this vulnerability?
The affected versions of Python are 2.7.17-1~18.04ubuntu1.2, 3.6.9-1~18.04ubuntu1.3, 2.7.12-1ubuntu0~16.04.13, 3.5.2-2ubuntu0~16.04.12, 2.7.6-8ubuntu0.6+esm7, 3.4.3-1ubuntu1~14.04.7+esm8, and 2.7.3-0ubuntu3.19.
How can I fix this Python vulnerability?
To fix this vulnerability, update Python to version 2.7.17-1~18.04ubuntu1.2, 3.6.9-1~18.04ubuntu1.3, 2.7.12-1ubuntu0~16.04.13, 3.5.2-2ubuntu0~16.04.12, 2.7.6-8ubuntu0.6+esm7, 3.4.3-1ubuntu1~14.04.7+esm8, or 2.7.3-0ubuntu3.19.
Where can I find more information about this vulnerability?
You can find more information about this vulnerability at the following references: [USN-4754-3](https://ubuntu.com/security/notices/USN-4754-3) and [CVE-2020-26116](https://ubuntu.com/security/CVE-2020-26116).