USN-7015-2

Source
https://ubuntu.com/security/notices/USN-7015-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7015-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7015-2
Related
Published
2024-09-19T17:36:42.960736Z
Modified
2024-09-19T17:36:42.960736Z
Summary
python2.7, python3.5 vulnerabilities
Details

USN-7015-1 fixed several vulnerabilities in Python. This update provides one of the corresponding updates for python2.7 for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS, and a second for python3.5 for Ubuntu 16.04 LTS.

Original advisory details:

It was discovered that Python allowed excessive backtracking while parsing certain tarfile headers. A remote attacker could possibly use this issue to cause Python to consume resources, leading to a denial of service. This issue only affected python3.5 for Ubuntu 16.04 LTS (CVE-2024-6232)

It was discovered that the Python http.cookies module incorrectly handled parsing cookies that contained backslashes for quoted characters. A remote attacker could possibly use this issue to cause Python to consume resources, leading to a denial of service. (CVE-2024-7592)

References

Affected packages

Ubuntu:Pro:16.04:LTS / python2.7

Package

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

Affected ranges

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

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
2.7.12-1ubuntu0~16.04.16
2.7.12-1ubuntu0~16.04.18
2.7.12-1ubuntu0~16.04.18+esm1
2.7.12-1ubuntu0~16.04.18+esm2
2.7.12-1ubuntu0~16.04.18+esm3
2.7.12-1ubuntu0~16.04.18+esm4
2.7.12-1ubuntu0~16.04.18+esm5
2.7.12-1ubuntu0~16.04.18+esm6
2.7.12-1ubuntu0~16.04.18+esm7
2.7.12-1ubuntu0~16.04.18+esm8
2.7.12-1ubuntu0~16.04.18+esm9

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-dbg"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-dbgsym"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-dev-dbgsym"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-minimal-dbgsym"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-stdlib-dbgsym"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "python2.7-dbg"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "python2.7-doc"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm10",
            "binary_name": "python2.7-minimal"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / python3.5

Package

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

Affected ranges

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

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
3.5.2-2ubuntu0~16.04.8
3.5.2-2ubuntu0~16.04.9
3.5.2-2ubuntu0~16.04.10
3.5.2-2ubuntu0~16.04.11
3.5.2-2ubuntu0~16.04.12
3.5.2-2ubuntu0~16.04.13
3.5.2-2ubuntu0~16.04.13+esm1
3.5.2-2ubuntu0~16.04.13+esm2
3.5.2-2ubuntu0~16.04.13+esm3
3.5.2-2ubuntu0~16.04.13+esm5
3.5.2-2ubuntu0~16.04.13+esm6
3.5.2-2ubuntu0~16.04.13+esm7
3.5.2-2ubuntu0~16.04.13+esm8
3.5.2-2ubuntu0~16.04.13+esm9
3.5.2-2ubuntu0~16.04.13+esm10
3.5.2-2ubuntu0~16.04.13+esm11
3.5.2-2ubuntu0~16.04.13+esm12
3.5.2-2ubuntu0~16.04.13+esm13

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "idle-python3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-dbg"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-dev"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-dev-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-minimal"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-minimal-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-stdlib"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-stdlib-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "libpython3.5-testsuite"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "python3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "python3.5-dbg"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "python3.5-dev"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "python3.5-doc"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "python3.5-examples"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "python3.5-minimal"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm14",
            "binary_name": "python3.5-venv"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / python2.7

Package

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

Affected ranges

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

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
2.7.17-1~18.04ubuntu1.5
2.7.17-1~18.04ubuntu1.6
2.7.17-1~18.04ubuntu1.7
2.7.17-1~18.04ubuntu1.8
2.7.17-1~18.04ubuntu1.10
2.7.17-1~18.04ubuntu1.11
2.7.17-1~18.04ubuntu1.13
2.7.17-1~18.04ubuntu1.13+esm1
2.7.17-1~18.04ubuntu1.13+esm2
2.7.17-1~18.04ubuntu1.13+esm3
2.7.17-1~18.04ubuntu1.13+esm4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "libpython2.7-dbg"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "python2.7-dbg"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "python2.7-doc"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm5",
            "binary_name": "python2.7-minimal"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7?arch=src?distro=esm-apps/focal

Affected ranges

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

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
2.7.18-1~20.04.1
2.7.18-1~20.04.1+esm1
2.7.18-1~20.04.3
2.7.18-1~20.04.3+esm1
2.7.18-1~20.04.4
2.7.18-1~20.04.4+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "libpython2.7-dbg"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "python2.7-dbg"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "python2.7-doc"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.18-1~20.04.4+esm2",
            "binary_name": "python2.7-minimal"
        }
    ]
}

Ubuntu:Pro:22.04:LTS / python2.7

Package

Name
python2.7
Purl
pkg:deb/ubuntu/python2.7?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.18-13ubuntu1.2+esm2

Affected versions

2.*

2.7.18-8build1
2.7.18-13
2.7.18-13ubuntu1
2.7.18-13ubuntu1.1
2.7.18-13ubuntu1.1+esm2
2.7.18-13ubuntu1.2
2.7.18-13ubuntu1.2+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "idle-python2.7"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "libpython2.7"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "libpython2.7-dbg"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "libpython2.7-dev"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "libpython2.7-minimal"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "libpython2.7-stdlib"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "libpython2.7-testsuite"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "python2.7"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "python2.7-dbg"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "python2.7-dev"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "python2.7-doc"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "python2.7-examples"
        },
        {
            "binary_version": "2.7.18-13ubuntu1.2+esm2",
            "binary_name": "python2.7-minimal"
        }
    ]
}