CVE-2024-4032
Incorrect IPv4 and IPv6 private ranges
Description
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.0 contain updated information from these registries and thus have the intended behavior.
How to fix CVE-2024-4032
To remediate CVE-2024-4032, upgrade the affected package to a fixed version below.
- —upgrade to 3.10.15-r0 or later
- —upgrade to 3.8.20 or later
- —upgrade to 3.8.20 or later
- —upgrade to 3.8.20 or later
- —no fix listed
- —upgrade to 3.11.2-6+deb12u3 or later
- —upgrade to 3.9.2-1+deb11u2 or later
Is CVE-2024-4032 being exploited?
Low — EPSS is 1.1%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- from 0, < 3.10.15-r0
- from 0, < 3.8.20, >= 3.9.0, < 3.9.20, >= 3.10.0, < 3.10.15, >= 3.11.0, < 3.11.10, >= 3.12.0, < 3.12.4
- from 0, < 3.8.20, >= 3.9.0, < 3.9.20, >= 3.10.0, < 3.10.15, >= 3.11.0, < 3.11.10, >= 3.12.0, < 3.12.4
- from 0, < 3.8.20, >= 3.9.0, < 3.9.20, >= 3.10.0, < 3.10.15, >= 3.11.0, < 3.11.10, >= 3.12.0, < 3.12.4
- from 0
- from 0, < 3.11.2-6+deb12u3
- from 0, < 3.9.2-1+deb11u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |