USN-7218-1

Source
https://ubuntu.com/security/notices/USN-7218-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7218-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7218-1
Upstream
Related
Published
2025-01-20T15:06:45.480549Z
Modified
2025-10-13T04:39:40Z
Summary
python3.10, python3.8 vulnerability
Details

It was discovered that Python incorrectly handled parsing bracketed hosts. A remote attacker could possibly use this issue to perform a Server-Side Request Forgery (SSRF) attack.

References

Affected packages

Ubuntu:20.04:LTS / python3.8

Package

Name
python3.8
Purl
pkg:deb/ubuntu/python3.8@3.8.10-0ubuntu1~20.04.14?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.10-0ubuntu1~20.04.14

Affected versions

3.*

3.8.0-1
3.8.0-2
3.8.0-3
3.8.0-4
3.8.0-5
3.8.1-2ubuntu3
3.8.2~rc1-1ubuntu1
3.8.2-1
3.8.2-1ubuntu1
3.8.2-1ubuntu1.1
3.8.2-1ubuntu1.2
3.8.5-1~20.04
3.8.5-1~20.04.2
3.8.5-1~20.04.3
3.8.10-0ubuntu1~20.04
3.8.10-0ubuntu1~20.04.1
3.8.10-0ubuntu1~20.04.2
3.8.10-0ubuntu1~20.04.4
3.8.10-0ubuntu1~20.04.5
3.8.10-0ubuntu1~20.04.6
3.8.10-0ubuntu1~20.04.7
3.8.10-0ubuntu1~20.04.8
3.8.10-0ubuntu1~20.04.9
3.8.10-0ubuntu1~20.04.10
3.8.10-0ubuntu1~20.04.11
3.8.10-0ubuntu1~20.04.12
3.8.10-0ubuntu1~20.04.13

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "idle-python3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "libpython3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "libpython3.8-dev",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "libpython3.8-minimal",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "libpython3.8-stdlib",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "libpython3.8-testsuite",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "python3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "python3.8-dev",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "python3.8-examples",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "python3.8-full",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "python3.8-minimal",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        },
        {
            "binary_name": "python3.8-venv",
            "binary_version": "3.8.10-0ubuntu1~20.04.14"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2024-11168",
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/AU:N",
                    "type": "CVSS_V4"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:20.04:LTS"
}

Ubuntu:22.04:LTS / python3.10

Package

Name
python3.10
Purl
pkg:deb/ubuntu/python3.10@3.10.12-1~22.04.8?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*

3.10.0-2
3.10.0-3
3.10.0-4
3.10.0-5
3.10.0-5build1
3.10.1-1
3.10.1-2
3.10.2-1
3.10.2-5
3.10.2-7
3.10.3-1
3.10.4-3
3.10.4-3ubuntu0.1
3.10.6-1~22.04
3.10.6-1~22.04.1
3.10.6-1~22.04.2
3.10.6-1~22.04.2ubuntu1
3.10.6-1~22.04.2ubuntu1.1
3.10.12-1~22.04.2
3.10.12-1~22.04.3
3.10.12-1~22.04.4
3.10.12-1~22.04.5
3.10.12-1~22.04.6
3.10.12-1~22.04.7

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "idle-python3.10",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "libpython3.10",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "libpython3.10-dev",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "libpython3.10-minimal",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "libpython3.10-stdlib",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "libpython3.10-testsuite",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "python3.10",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "python3.10-dev",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "python3.10-examples",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "python3.10-full",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "python3.10-minimal",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "python3.10-nopie",
            "binary_version": "3.10.12-1~22.04.8"
        },
        {
            "binary_name": "python3.10-venv",
            "binary_version": "3.10.12-1~22.04.8"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2024-11168",
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/AU:N",
                    "type": "CVSS_V4"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:22.04:LTS"
}