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.
Author | Note |
---|---|
Priority reason: This is a low severity issue that only mis-classes certain ip addresses |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 22.04 | noarch | python3.10 | < any | UNKNOWN |
ubuntu | 22.04 | noarch | python3.11 | < any | UNKNOWN |
ubuntu | 24.04 | noarch | python3.12 | < any | UNKNOWN |
ubuntu | 14.04 | noarch | python3.4 | < any | UNKNOWN |
ubuntu | 14.04 | noarch | python3.5 | < any | UNKNOWN |
ubuntu | 16.04 | noarch | python3.5 | < any | UNKNOWN |
ubuntu | 18.04 | noarch | python3.6 | < any | UNKNOWN |
ubuntu | 18.04 | noarch | python3.7 | < any | UNKNOWN |
ubuntu | 18.04 | noarch | python3.8 | < any | UNKNOWN |
ubuntu | 20.04 | noarch | python3.8 | < any | UNKNOWN |
www.openwall.com/lists/oss-security/2024/06/17/3
github.com/advisories/GHSA-mh6q-v4mp-2cc7
github.com/python/cpython/commit/40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f (3.13)
github.com/python/cpython/pull/113179
launchpad.net/bugs/cve/CVE-2024-4032
mail.python.org/archives/list/[email protected]/thread/NRUHDUS2IV2USIZM2CVMSFL6SCKU3RZA/
nvd.nist.gov/vuln/detail/CVE-2024-4032
security-tracker.debian.org/tracker/CVE-2024-4032
www.cve.org/CVERecord?id=CVE-2024-4032
www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml