Skip to content
7.5 High

CVE-2024-4032 The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated…

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.0a6 contain updated information from these registries and thus have the intended behavior.

Affected products and versions

Product Affected versions Fixed in
cpython 3.13 3.13.0a1 → < 3.13.0a6 3.13.0a6
cpython 3.12 earliest → < 3.12.4 3.12.4
CPython 3.13 3.13.0a1 → < 3.13.0a6 3.13.0a6
CPython 3.12 3.12.0 → < 3.12.4 3.12.4
CPython 3.11 3.11.0 → < 3.11.10 3.11.10
CPython 3.10 3.10.0 → < 3.10.15 3.10.15
CPython 3.9 3.9.0 → < 3.9.20 3.9.20
CPython 3.8 earliest → < 3.8.20 3.8.20

References

Timeline

  1. Published
  2. Last modified
The 8 CVEs of cpython →
Track this CVE