USN-4127-1

Source
https://ubuntu.com/security/notices/USN-4127-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4127-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4127-1
Related
Published
2019-09-09T17:22:13.515331Z
Modified
2019-09-09T17:22:13.515331Z
Summary
python2.7, python3.5, python3.6, python3.7 vulnerabilities
Details

It was discovered that Python incorrectly handled certain pickle files. An attacker could possibly use this issue to consume memory, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-20406)

It was discovered that Python incorrectly validated the domain when handling cookies. An attacker could possibly trick Python into sending cookies to the wrong domain. (CVE-2018-20852)

Jonathan Birch and Panayiotis Panayiotou discovered that Python incorrectly handled Unicode encoding during NFKC normalization. An attacker could possibly use this issue to obtain sensitive information. (CVE-2019-9636, CVE-2019-10160)

Colin Read and Nicolas Edet discovered that Python incorrectly handled parsing certain X509 certificates. An attacker could possibly use this issue to cause Python to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-5010)

It was discovered that Python incorrectly handled certain urls. A remote attacker could possibly use this issue to perform CRLF injection attacks. (CVE-2019-9740, CVE-2019-9947)

Sihoon Lee discovered that Python incorrectly handled the local_file: scheme. A remote attacker could possibly use this issue to bypass blocklist meschanisms. (CVE-2019-9948)

References

Affected packages

Ubuntu:16.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.12-1ubuntu0~16.04.8

Affected versions

2.*

2.7.10-4ubuntu1
2.7.10-4ubuntu2
2.7.11-2
2.7.11-3
2.7.11-4
2.7.11-6
2.7.11-7
2.7.11-7ubuntu1
2.7.12-1~16.04
2.7.12-1ubuntu0~16.04.1
2.7.12-1ubuntu0~16.04.2
2.7.12-1ubuntu0~16.04.3
2.7.12-1ubuntu0~16.04.4

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-dbg"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-dbgsym"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-dev-dbgsym"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-minimal-dbgsym"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-stdlib-dbgsym"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "python2.7-dbg"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "python2.7-doc"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.8",
            "binary_name": "python2.7-minimal"
        }
    ]
}

Ubuntu:16.04:LTS / python3.5

Package

Name
python3.5
Purl
pkg:deb/ubuntu/python3.5?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.2-2ubuntu0~16.04.8

Affected versions

3.*

3.5.0-3
3.5.0-3ubuntu1
3.5.1~rc1-2ubuntu1
3.5.1-1
3.5.1-2
3.5.1-3
3.5.1-5
3.5.1-6ubuntu1
3.5.1-6ubuntu2
3.5.1-9ubuntu1
3.5.1-10
3.5.2-2~16.01
3.5.2-2~16.04
3.5.2-2ubuntu0~16.04.1
3.5.2-2ubuntu0~16.04.2
3.5.2-2ubuntu0~16.04.3
3.5.2-2ubuntu0~16.04.4
3.5.2-2ubuntu0~16.04.5

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "idle-python3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-dbg"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-dev"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-dev-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-minimal"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-minimal-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-stdlib"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-stdlib-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "libpython3.5-testsuite"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "python3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "python3.5-dbg"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "python3.5-dev"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "python3.5-doc"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "python3.5-examples"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "python3.5-minimal"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.8",
            "binary_name": "python3.5-venv"
        }
    ]
}

Ubuntu:18.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.15-4ubuntu4~18.04.1

Affected versions

2.*

2.7.14-2ubuntu2
2.7.14-4
2.7.14-6
2.7.14-7
2.7.14-8
2.7.15~rc1-1
2.7.15~rc1-1ubuntu0.1
2.7.15-4ubuntu4~18.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "libpython2.7-dbg"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "python2.7-dbg"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "python2.7-doc"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.15-4ubuntu4~18.04.1",
            "binary_name": "python2.7-minimal"
        }
    ]
}

Ubuntu:18.04:LTS / python3.6

Package

Name
python3.6
Purl
pkg:deb/ubuntu/python3.6?arch=src?distro=bionic

Affected ranges

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

Affected versions

3.*

3.6.3-1ubuntu1
3.6.4~rc1-1
3.6.4~rc1-2
3.6.4-1
3.6.4-2
3.6.4-3build1
3.6.4-4
3.6.5~rc1-1
3.6.5-3
3.6.6-1~18.04
3.6.7-1~18.04
3.6.8-1~18.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "idle-python3.6"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "libpython3.6"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "libpython3.6-dbg"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "libpython3.6-dev"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "libpython3.6-minimal"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "libpython3.6-stdlib"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "libpython3.6-testsuite"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "python3.6"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "python3.6-dbg"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "python3.6-dev"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "python3.6-doc"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "python3.6-examples"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "python3.6-minimal"
        },
        {
            "binary_version": "3.6.8-1~18.04.2",
            "binary_name": "python3.6-venv"
        }
    ]
}