usn-7348-2
Vulnerability from osv_ubuntu
USN-7348-1 fixed vulnerabilities in Python. The update introduced a regression. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that the Python ipaddress module contained incorrect information about which IP address ranges were considered “private” or “globally reachable”. This could possibly result in applications applying incorrect security policies. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2024-4032)
It was discovered that Python incorrectly handled quoting path names when using the venv module. A local attacker able to control virtual environments could possibly use this issue to execute arbitrary code when the virtual environment is activated. (CVE-2024-9287)
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. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2024-11168)
It was discovered that Python incorrectly handled parsing domain names that included square brackets. A remote attacker could possibly use this issue to perform a Server-Side Request Forgery (SSRF) attack. (CVE-2025-0938)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-0938",
"severity": [
{
"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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "idle-python3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
},
{
"binary_name": "libpython3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
},
{
"binary_name": "libpython3.5-minimal",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
},
{
"binary_name": "libpython3.5-stdlib",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
},
{
"binary_name": "libpython3.5-testsuite",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
},
{
"binary_name": "python3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
},
{
"binary_name": "python3.5-examples",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
},
{
"binary_name": "python3.5-minimal",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
},
{
"binary_name": "python3.5-venv",
"binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "python3.5",
"purl": "pkg:deb/ubuntu/python3.5@3.5.2-2ubuntu0~16.04.4~14.04.1+esm6?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.5.2-2ubuntu0~16.04.4~14.04.1",
"3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
"3.5.2-2ubuntu0~16.04.4~14.04.1+esm3",
"3.5.2-2ubuntu0~16.04.4~14.04.1+esm4",
"3.5.2-2ubuntu0~16.04.4~14.04.1+esm5"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-0938",
"severity": [
{
"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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "idle-python3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
},
{
"binary_name": "libpython3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
},
{
"binary_name": "libpython3.5-minimal",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
},
{
"binary_name": "libpython3.5-stdlib",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
},
{
"binary_name": "libpython3.5-testsuite",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
},
{
"binary_name": "python3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
},
{
"binary_name": "python3.5-examples",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
},
{
"binary_name": "python3.5-minimal",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
},
{
"binary_name": "python3.5-venv",
"binary_version": "3.5.2-2ubuntu0~16.04.13+esm18"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "python3.5",
"purl": "pkg:deb/ubuntu/python3.5@3.5.2-2ubuntu0~16.04.13+esm18?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5.2-2ubuntu0~16.04.13+esm18"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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",
"3.5.2-2ubuntu0~16.04.13+esm14",
"3.5.2-2ubuntu0~16.04.13+esm15",
"3.5.2-2ubuntu0~16.04.13+esm16",
"3.5.2-2ubuntu0~16.04.13+esm17"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-0938",
"severity": [
{
"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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "idle-python3.8",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "libpython3.8",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "libpython3.8-minimal",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "libpython3.8-stdlib",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "libpython3.8-testsuite",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "python3.8",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "python3.8-examples",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "python3.8-full",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "python3.8-minimal",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
},
{
"binary_name": "python3.8-venv",
"binary_version": "3.8.10-0ubuntu1~20.04.18"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python3.8",
"purl": "pkg:deb/ubuntu/python3.8@3.8.10-0ubuntu1~20.04.18?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.10-0ubuntu1~20.04.18"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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",
"3.8.10-0ubuntu1~20.04.14",
"3.8.10-0ubuntu1~20.04.15",
"3.8.10-0ubuntu1~20.04.16",
"3.8.10-0ubuntu1~20.04.17"
]
}
],
"aliases": [],
"details": "USN-7348-1 fixed vulnerabilities in Python. The update introduced a\nregression. This update fixes the problem.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that the Python ipaddress module contained incorrect\n information about which IP address ranges were considered \u201cprivate\u201d or\n \u201cglobally reachable\u201d. This could possibly result in applications applying\n incorrect security policies. This issue only affected Ubuntu 14.04 LTS\n and Ubuntu 16.04 LTS. (CVE-2024-4032)\n \n It was discovered that Python incorrectly handled quoting path names when\n using the venv module. A local attacker able to control virtual\n environments could possibly use this issue to execute arbitrary code when\n the virtual environment is activated. (CVE-2024-9287)\n \n It was discovered that Python incorrectly handled parsing bracketed hosts.\n A remote attacker could possibly use this issue to perform a Server-Side\n Request Forgery (SSRF) attack. This issue only affected Ubuntu 14.04 LTS\n and Ubuntu 16.04 LTS. (CVE-2024-11168)\n \n It was discovered that Python incorrectly handled parsing domain names that\n included square brackets. A remote attacker could possibly use this issue\n to perform a Server-Side Request Forgery (SSRF) attack. (CVE-2025-0938)\n",
"id": "USN-7348-2",
"modified": "2026-06-25T10:46:42Z",
"published": "2025-03-24T19:01:05Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7348-2"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-0938"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "python3.5, python3.8 regression",
"upstream": [
"UBUNTU-CVE-2025-0938"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.