Skip to content

CVE-2024-4032 Incorrect IPv4 and IPv6 private ranges

HighCVSS 7.5 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
debian/pypy3(Debian:12) All versions No fix listed
debian/pypy3(Debian:12) = 7.3.11+dfsg-2 No fix listed
debian/pypy3(Debian:12) = 7.3.11+dfsg-2+deb12u1 No fix listed
debian/pypy3(Debian:12) = 7.3.11+dfsg-2+deb12u2 No fix listed
debian/pypy3(Debian:12) = 7.3.11+dfsg-2+deb12u3 No fix listed
debian/pypy3(Debian:12) = 7.3.12+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.12~rc1+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.12~rc2+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.13+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.14+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.15+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.16+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.16+dfsg-2 No fix listed
debian/pypy3(Debian:12) = 7.3.17+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.17+dfsg-2 No fix listed
debian/pypy3(Debian:12) = 7.3.17+dfsg-3 No fix listed
debian/pypy3(Debian:12) = 7.3.18+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.18+dfsg-2 No fix listed
debian/pypy3(Debian:12) = 7.3.19+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.19+dfsg-2 No fix listed
debian/pypy3(Debian:12) = 7.3.20+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.20+dfsg-2 No fix listed
debian/pypy3(Debian:12) = 7.3.20+dfsg-3 No fix listed
debian/pypy3(Debian:12) = 7.3.20+dfsg-4 No fix listed
debian/pypy3(Debian:12) = 7.3.21+dfsg-1 No fix listed
Show 33 more
ProductAffected versionsFixed in
debian/pypy3(Debian:12) = 7.3.21+dfsg-2 No fix listed
debian/pypy3(Debian:12) = 7.3.21+dfsg-3 No fix listed
debian/pypy3(Debian:12) = 7.3.21+dfsg-4 No fix listed
debian/pypy3(Debian:12) = 7.3.22+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.23+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 7.3.23+dfsg-2 No fix listed
debian/pypy3(Debian:12) = 8.0.0+dfsg-1 No fix listed
debian/pypy3(Debian:12) = 8.0.1+dfsg-1 No fix listed
debian/pypy3(Debian:13) < 7.3.18+dfsg-1 7.3.18+dfsg-1
debian/pypy3(Debian:14) < 7.3.18+dfsg-1 7.3.18+dfsg-1
debian/python3.11(Debian:12) < 3.11.2-6+deb12u3 3.11.2-6+deb12u3
debian/python3.11(Debian:12) = 3.11.2-6 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u1 No fix listed
debian/python3.11(Debian:12) = 3.11.2-6+deb12u2 No fix listed
ubuntu/python3.10(Ubuntu:22.04) < 3.10.12-1~22.04.5 3.10.12-1~22.04.5
ubuntu/python3.11(Ubuntu:22.04) All versions No fix listed
Python Software Foundation CPython < 3.8.20 3.8.20
Python Software Foundation CPython >= 3.9.0, < 3.9.20 3.9.20
Python Software Foundation CPython >= 3.10.0, < 3.10.15 3.10.15
Python Software Foundation CPython >= 3.11.0, < 3.11.10 3.11.10
Python Software Foundation CPython >= 3.12.0, < 3.12.4 3.12.4
Python Software Foundation CPython >= 3.13.0a1, < 3.13.0a6 3.13.0a6
python cpython < 3.12.4 3.12.4
python cpython >= 3.13.0a1, < 3.13.0a6 3.13.0a6
alpine/python3(Alpine:v3.17) < 3.10.15-r0 3.10.15-r0
alpine/python3(Alpine:v3.18) < 3.11.10-r0 3.11.10-r0
alpine/python3(Alpine:v3.19) < 3.11.10-r0 3.11.10-r0
alpine/python3(Alpine:v3.20) < 3.12.6-r0 3.12.6-r0
alpine/python3(Alpine:v3.21) < 3.12.6-r0 3.12.6-r0
alpine/python3(Alpine:v3.22) < 3.12.6-r0 3.12.6-r0
alpine/python3(Alpine:v3.23) < 3.12.6-r0 3.12.6-r0
alpine/python3(Alpine:v3.24) < 3.12.6-r0 3.12.6-r0
ubuntu/python3.12(Ubuntu:24.04) < 3.12.3-1ubuntu0.1 3.12.3-1ubuntu0.1

References