CVE-2024-4032

Summary

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 Software

VendorProductVersion RangeStatus
Python Software FoundationCPython0 < 3.8.20affected
Python Software FoundationCPython3.9.0 < 3.9.20affected
Python Software FoundationCPython3.10.0 < 3.10.15affected
Python Software FoundationCPython3.11.0 < 3.11.10affected
Python Software FoundationCPython3.12.0 < 3.12.4affected
Python Software FoundationCPython3.13.0a1 < 3.13.0a6affected

Weaknesses

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References