QID 198293

Date Published: 2021-03-23

QID 198293: Ubuntu Security Notification for Python2.7, Python3.7, Python3.8 Vulnerabilities (USN-4754-3)

USN-4754-1 fixed vulnerabilities in Python. This update provides the corresponding updates for Ubuntu 18.04 and Ubuntu 20.04.

It was discovered that Python allowed remote attackers to cause a denial of service (resource consumption) via a ZIP bomb.

It was discovered that Python had potentially misleading information about whether sorting occurs.

It was discovered that Python incorrectly handled certain TAR archives.

It was discovered that Python allowed an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.

It was discovered that Python allowed CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.

Original advisory details:

It was discovered that Python incorrectly handled certain inputs.

It was discovered that Python allowed remote attackers to cause a denial of service (resource consumption) via a ZIP bomb. (CVE-2019-9674).

It was discovered that Python had potentially misleading information about whether sorting occurs. (CVE-2019-17514)

An attacker could possibly use this issue to cause a denial of service. (CVE-2019-20907)

(CVE-2020-8492)

(CVE-2020-26116)

An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Refer to Ubuntu advisory USN-4754-3 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    USN-4754-3 18.04 (bionic) on src python3.7 URL Logo launchpad.net/ubuntu/+source/python3.7/3.7.5-2~18.04.4
    USN-4754-3 18.04 (bionic) on src python3.7-minimal URL Logo launchpad.net/ubuntu/+source/python3.7/3.7.5-2~18.04.4
    USN-4754-3 18.04 (bionic) on src python3.8 URL Logo launchpad.net/ubuntu/+source/python3.7/3.7.5-2~18.04.4
    USN-4754-3 18.04 (bionic) on src python3.8-minimal URL Logo launchpad.net/ubuntu/+source/python3.7/3.7.5-2~18.04.4
    USN-4754-3 20.04 (focal) on src python2.7 URL Logo launchpad.net/ubuntu/+source/python2.7/2.7.18-1~20.04.1
    USN-4754-3 20.04 (focal) on src python2.7-minimal URL Logo launchpad.net/ubuntu/+source/python2.7/2.7.18-1~20.04.1