USN-4754-2

Source
https://ubuntu.com/security/notices/USN-4754-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4754-2
Published
2021-02-25T18:54:00Z
Modified
2026-02-10T04:42:05Z
Summary
python2.7 regression
Details

USN-4754-1 fixed a vulnerability in Python. The fix for CVE-2021-3177 introduced a regression in Python 2.7. This update reverts the security fix pending further investigation.

We apologize for the inconvenience.

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:Pro:14.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.6+esm9?arch=source&distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-8ubuntu0.6+esm9

Affected versions

2.*
2.7.5-8ubuntu3
2.7.5-8ubuntu4
2.7.6-2
2.7.6-2ubuntu1
2.7.6-3
2.7.6-3ubuntu1
2.7.6-4
2.7.6-4ubuntu1
2.7.6-5
2.7.6-7
2.7.6-8
2.7.6-8ubuntu0.2
2.7.6-8ubuntu0.3
2.7.6-8ubuntu0.4
2.7.6-8ubuntu0.5
2.7.6-8ubuntu0.6+esm2
2.7.6-8ubuntu0.6+esm3
2.7.6-8ubuntu0.6+esm5
2.7.6-8ubuntu0.6+esm6
2.7.6-8ubuntu0.6+esm7
2.7.6-8ubuntu0.6+esm8

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.6-8ubuntu0.6+esm9",
            "binary_name": "python2.7-minimal"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-2.json"
cves_map
{
    "ecosystem": "Ubuntu:Pro:14.04:LTS",
    "cves": []
}

Ubuntu:16.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7@2.7.12-1ubuntu0~16.04.16?arch=source&distro=xenial

Affected ranges

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

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
2.7.12-1ubuntu0~16.04.8
2.7.12-1ubuntu0~16.04.9
2.7.12-1ubuntu0~16.04.11
2.7.12-1ubuntu0~16.04.12
2.7.12-1ubuntu0~16.04.13
2.7.12-1ubuntu0~16.04.14

Ecosystem specific

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

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-2.json"
cves_map
{
    "ecosystem": "Ubuntu:16.04:LTS",
    "cves": []
}

Ubuntu:18.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7@2.7.17-1~18.04ubuntu1.5?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.17-1~18.04ubuntu1.5

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
2.7.15-4ubuntu4~18.04.1
2.7.15-4ubuntu4~18.04.2
2.7.17-1~18.04
2.7.17-1~18.04ubuntu1
2.7.17-1~18.04ubuntu1.1
2.7.17-1~18.04ubuntu1.2
2.7.17-1~18.04ubuntu1.3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.5",
            "binary_name": "python2.7-minimal"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-2.json"
cves_map
{
    "ecosystem": "Ubuntu:18.04:LTS",
    "cves": []
}