CVE-2024-4032
Incorrect IPv4 and IPv6 private ranges
Reported by psf · Published June 17, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-ipaddress | Amazon Linux | 1.0.16-2.amzn2.0.3 |
| python3-debug | Amazon Linux | 3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.11 |
| python3-libs | Amazon Linux | 3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.11 |
| python3-idle | Amazon Linux | 3.9.20-1.amzn2023.0.2 |
| python3-tkinter | Amazon Linux | 3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.11 |
| libpython | Bitnami | 3.12.4, 3.11.10, 3.10.15, 3.9.20, 3.8.20 |
| python3-test | Amazon Linux | 3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.11 |
| python3.11-devel | Amazon Linux | 3.11.6-1.amzn2023.0.6 |
| python3-tools | Amazon Linux | 3.7.16-1.amzn2.0.11 |
| python-3.12 | Chainguard | 3.12.4-r0 |
| python3.11-tkinter | Amazon Linux | 3.11.6-1.amzn2023.0.6 |
| python3.11 | Amazon Linux | 3.11.6-1.amzn2023.0.6 |
38 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | 0, 3.9.0, 3.10.0 |
| amazon:2 | python-ipaddress | 0 |
| Python Software Foundation | CPython | |
| amazon:2023 | python3-debug | 0 |
| amazon:2023 | python3-libs | 0 |
| amazon:2023 | python3-idle | 0 |
| amazon:2023 | python3-tkinter | 0 |
| amazon:2 | python3-test | 0 |
| amazon:2023 | python3.11-devel | 0 |
| amazon:2 | python3-tools | 0 |
| chainguard | python-3.12 | 0 |
| amazon:2 | python3-libs | 0 |
| amazon:2023 | python3.11-tkinter | 0 |
| amazon:2023 | python3.11 | 0 |
| amazon:2023 | python3-devel | 0 |
| Python Software Foundation | CPython | 3.13.0a1, 3.11.0, 3.9.0 |
| amazon:2023 | python-unversioned-command | 0 |
| chainguard | python-3.8 | 0 |
| amazon:2023 | python3 | 0 |
| amazon:2023 | python3-test | 0 |
…and 19 more
Timeline
- Jun 17, 2024 CVE Published
- Jun 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (5 in total, the first dated here)
- Jun 2, 2026 Security Advisory (23 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-4032
vulnetix vdb fixes CVE-2024-4032
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-4032/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- issue-tracking
- patch
- vendor-advisory
- patch
- patch
- patch
- patch
- patch
- patch
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html advisory