USN-4754-3

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?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": [
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "idle-python3.7"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "libpython3.7"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "libpython3.7-dbg"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "libpython3.7-dev"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "libpython3.7-minimal"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "libpython3.7-stdlib"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "libpython3.7-testsuite"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "python3.7"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "python3.7-dbg"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "python3.7-dev"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "python3.7-doc"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "python3.7-examples"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "python3.7-minimal"
        },
        {
            "binary_version": "3.7.5-2~18.04.4",
            "binary_name": "python3.7-venv"
        }
    ]
}

Ubuntu:18.04:LTS / python3.8

Package

Name
python3.8
Purl
pkg:deb/ubuntu/python3.8?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": [
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "idle-python3.8"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "libpython3.8"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "libpython3.8-dbg"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "libpython3.8-dev"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "libpython3.8-minimal"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "libpython3.8-stdlib"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "libpython3.8-testsuite"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "python3.8"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "python3.8-dbg"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "python3.8-dev"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "python3.8-examples"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "python3.8-minimal"
        },
        {
            "binary_version": "3.8.0-3~18.04.1",
            "binary_name": "python3.8-venv"
        }
    ]
}

Ubuntu:20.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7?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": [
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "libpython2.7-dbg"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "python2.7-dbg"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "python2.7-doc"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.18-1~20.04.1",
            "binary_name": "python2.7-minimal"
        }
    ]
}