CVE-2024-4032

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductCPython
PublishedJun 17, 2024
First seenJun 17, 2024
Weakness typeCWE-697CWE-697

How to fix

Affected products

ProductAffected versionsFixed in
Python Software Foundation CPythonv < 3.8.20, 3.9.0 ≤ v < 3.9.20, 3.10.0 ≤ v < 3.10.15, 3.11.0 ≤ v < 3.11.10, 3.12.0 ≤ v < 3.12.4, 3.13.0a1 ≤ v < 3.13.0a63.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.4, 3.13.0a6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.