Name | CVE-2024-4032 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3980-1, DSA-5759-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python2.7 (PTS) | bullseye | 2.7.18-8+deb11u1 | fixed |
python3.11 (PTS) | bookworm | 3.11.2-6+deb12u4 | fixed |
bookworm (security) | 3.11.2-6+deb12u3 | fixed | |
python3.12 (PTS) | sid, trixie | 3.12.8-3 | fixed |
python3.13 (PTS) | sid, trixie | 3.13.1-2 | fixed |
python3.9 (PTS) | bullseye | 3.9.2-1 | vulnerable |
bullseye (security) | 3.9.2-1+deb11u2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python2.7 | source | (unstable) | (not affected) | |||
python3.11 | source | bookworm | 3.11.2-6+deb12u3 | DSA-5759-1 | ||
python3.11 | source | (unstable) | (unfixed) | |||
python3.12 | source | (unstable) | 3.12.4-1 | |||
python3.13 | source | (unstable) | (not affected) | |||
python3.7 | source | (unstable) | (unfixed) | |||
python3.9 | source | bullseye | 3.9.2-1+deb11u2 | DLA-3980-1 | ||
python3.9 | source | (unstable) | (unfixed) |
- python3.13 <not-affected> (Fixed before initial upload to Debian unstable)
- python2.7 <not-affected> (ipaddress module added in 3.3)
https://github.com/advisories/GHSA-mh6q-v4mp-2cc7
https://github.com/python/cpython/issues/113171
https://github.com/python/cpython/pull/113179
https://github.com/python/cpython/commit/ba431579efdcbaed7a96f2ac4ea0775879a332fb (3.11.y-branch)
https://github.com/python/cpython/commit/22adf29da8d99933ffed8647d3e0726edd16f7f8 (3.9.y-branch)