Ubuntu CVE Tracker
UBUNTU-CVE-2024-4032
Details
The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as “globally reachable” or “private”. This affected the is_private and is_global properties of the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address, and ipaddress.IPv6Network classes, where values wouldn’t be returned in accordance with the latest information from the IANA Special-Purpose Address Registries. CPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4 (fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4) |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.13+esm16 (fixed in 3.5.2-2ubuntu0~16.04.13+esm16) |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:20.04:LTS | python3.8 | All versions before 3.8.10-0ubuntu1~20.04.11 (fixed in 3.8.10-0ubuntu1~20.04.11) |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.5 (fixed in 3.10.12-1~22.04.5) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions, no fix listed |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.1 (fixed in 3.12.3-1ubuntu0.1) |
References
- https://ubuntu.com/security/CVE-2024-4032
- https://www.cve.org/CVERecord?id=CVE-2024-4032
- https://github.com/python/cpython/pull/113179
- https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
- https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
- https://mail.python.org/archives/list/[email protected]/thread/NRUHDUS2IV2USIZM2CVMSFL6SCKU3RZA/
- https://github.com/python/cpython/commit/40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f
- http://www.openwall.com/lists/oss-security/2024/06/17/3
- https://github.com/advisories/GHSA-mh6q-v4mp-2cc7
- https://ubuntu.com/security/notices/USN-6928-1
- https://ubuntu.com/security/notices/USN-6941-1
- https://ubuntu.com/security/notices/USN-7348-1