USN-4754-3

See a problem?
Source
https://ubuntu.com/security/notices/USN-4754-3
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-3.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4754-3
Related
Published
2021-03-12T14:07:56.469671Z
Modified
2021-03-12T14:07:56.469671Z
Summary
python2.7, python3.7, python3.8 vulnerabilities
Details

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

In the case of Python 2.7 for 20.04, these additional fixes are included:

It was dicovered 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. This fix updates the documentation about it. (CVE-2019-17514)

It was discovered that Python incorrectly handled certain TAR archives. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-20907)

It was discovered that Python allowed an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking. (CVE-2020-8492)

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.request. (CVE-2020-26116)

Original advisory details:

It was discovered that Python incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)

References

Affected packages

Ubuntu:18.04:LTS / python3.7

Package

Name
python3.7
Purl
pkg:deb/ubuntu/python3.7@3.7.5-2~18.04.4?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.5-2~18.04.4

Affected versions

3.*

3.7.0~a2-1
3.7.0~a3-1
3.7.0~a3-2
3.7.0~a3-3
3.7.0~a4-1
3.7.0~b1-1
3.7.0~b1-1build1
3.7.0~b2-1
3.7.0~b3-1
3.7.0-1~18.04
3.7.1-1~18.04
3.7.3-2~18.04.1
3.7.5-2~18.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "libpython3.7-dev": "3.7.5-2~18.04.4",
            "libpython3.7-testsuite": "3.7.5-2~18.04.4",
            "python3.7-venv": "3.7.5-2~18.04.4",
            "libpython3.7": "3.7.5-2~18.04.4",
            "idle-python3.7": "3.7.5-2~18.04.4",
            "python3.7-examples": "3.7.5-2~18.04.4",
            "python3.7-dbg": "3.7.5-2~18.04.4",
            "python3.7-dev": "3.7.5-2~18.04.4",
            "libpython3.7-minimal": "3.7.5-2~18.04.4",
            "python3.7-minimal": "3.7.5-2~18.04.4",
            "libpython3.7-dbg": "3.7.5-2~18.04.4",
            "python3.7": "3.7.5-2~18.04.4",
            "python3.7-doc": "3.7.5-2~18.04.4",
            "libpython3.7-stdlib": "3.7.5-2~18.04.4"
        }
    ]
}

Ubuntu:18.04:LTS / python3.8

Package

Name
python3.8
Purl
pkg:deb/ubuntu/python3.8@3.8.0-3~18.04.1?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.0-3~18.04.1

Affected versions

3.*

3.8.0-3~18.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "libpython3.8-stdlib": "3.8.0-3~18.04.1",
            "libpython3.8-testsuite": "3.8.0-3~18.04.1",
            "libpython3.8": "3.8.0-3~18.04.1",
            "libpython3.8-minimal": "3.8.0-3~18.04.1",
            "idle-python3.8": "3.8.0-3~18.04.1",
            "libpython3.8-dbg": "3.8.0-3~18.04.1",
            "python3.8": "3.8.0-3~18.04.1",
            "python3.8-venv": "3.8.0-3~18.04.1",
            "python3.8-dbg": "3.8.0-3~18.04.1",
            "python3.8-dev": "3.8.0-3~18.04.1",
            "python3.8-examples": "3.8.0-3~18.04.1",
            "python3.8-minimal": "3.8.0-3~18.04.1",
            "libpython3.8-dev": "3.8.0-3~18.04.1"
        }
    ]
}

Ubuntu:20.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7@2.7.18-1~20.04.1?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.18-1~20.04.1

Affected versions

2.*

2.7.17~rc1-1
2.7.17-1
2.7.17-1ubuntu5
2.7.17-1ubuntu6
2.7.18~rc1-2
2.7.18-1~20.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "python2.7": "2.7.18-1~20.04.1",
            "libpython2.7": "2.7.18-1~20.04.1",
            "libpython2.7-dbg": "2.7.18-1~20.04.1",
            "libpython2.7-stdlib": "2.7.18-1~20.04.1",
            "python2.7-dev": "2.7.18-1~20.04.1",
            "python2.7-examples": "2.7.18-1~20.04.1",
            "python2.7-doc": "2.7.18-1~20.04.1",
            "python2.7-dbg": "2.7.18-1~20.04.1",
            "idle-python2.7": "2.7.18-1~20.04.1",
            "libpython2.7-testsuite": "2.7.18-1~20.04.1",
            "python2.7-minimal": "2.7.18-1~20.04.1",
            "libpython2.7-dev": "2.7.18-1~20.04.1",
            "libpython2.7-minimal": "2.7.18-1~20.04.1"
        }
    ]
}