Skip to content
Fencer Vulns
high 7.5

CVE-2024-4032 json

Incorrect IPv4 and IPv6 private ranges

published 2024-06-17 2 y ago modified 2026-06-17 4 mo ago also BIT-libpython-2024-4032 , BIT-python-2024-4032 , BIT-python-min-2024-4032 , EUVD-2024-32597

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 65%
public exploits
0
none known

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.

Patch / fix

  • bitnami libpython 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.4
  • bitnami python 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.4
  • bitnami python-min 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.4
  • Python Software Foundation CPython 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.4, 3.13.0a6
  • python cpython 3.12.4, 3.13.0a6
  • pypy3 Debian 14, Debian 13 7.3.18+dfsg-1
  • python3.11 Debian 12 3.11.2-6+deb12u3

debian advisories DEBIAN-CVE-2024-4032

  • python3.8 Ubuntu 20.04 LTS 3.8.10-0ubuntu1~20.04.11
  • python3.10 Ubuntu 22.04 LTS 3.10.12-1~22.04.5
  • python3.12 Ubuntu 24.04 LTS 3.12.3-1ubuntu0.1
  • python3.5 Ubuntu Pro 14.04 LTS 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4
  • python3.5 Ubuntu Pro 16.04 LTS 3.5.2-2ubuntu0~16.04.13+esm16

ubuntu advisories UBUNTU-CVE-2024-4032

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python3.12 RHEL 9 3.12.5-2.el9
  • python3.12-idle RHEL 9 3.12.5-2.el9
  • python3.12-libs RHEL 9 3.12.5-2.el9
  • python3.12-test RHEL 9 3.12.5-2.el9
  • python3.12-tkinter RHEL 9 3.12.5-2.el9
  • numpy RHEL 8 1.19.4-3.module+el8.9.0+19644+d68f775d
  • scipy RHEL 8 1.5.4-5.module+el8.9.0+19644+d68f775d
  • Cython RHEL 8 0.29.21-5.module+el8.9.0+19644+d68f775d

red hat advisories RHSA-2024:9190RHSA-2024:5962RHSA-2024:6975RHSA-2024:6961RHSA-2024:6962RHSA-2024:7417

  • python311 SLE Module for Python 3 15 SP6, openSUSE Leap 15.6 3.11.9-150600.3.3.1
  • python311-core SLE Module for Python 3 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 3.11.9-150600.3.3.1
  • python311-documentation openSUSE Leap 15.6 3.11.9-150600.3.3.1
  • python311 Linux Micro 6.1 3.11.12-slfo.1.1_1.1
  • python311-core Linux Micro 6.1 3.11.12-slfo.1.1_1.1
  • python311 Linux Micro 6.0 3.11.11-1.1
  • python311-core Linux Micro 6.0 3.11.11-1.1
  • python311 Linux Micro 6.0 3.11.8-3.1

suse advisories SUSE-SU-2025:02089-1SUSE-SU-2025:20374-1SUSE-SU-2025:20154-1SUSE-SU-2025:20025-1SUSE-EL-9-CLIENT-TOOLS-2024-4029SUSE-SU-2024:4029-1

  • python315 openSUSE Tumbleweed 3.15.0~a1-1.1
  • python314 openSUSE Tumbleweed 3.14.0~a1-1.1
  • python313 openSUSE Tumbleweed 3.13.0~rc2-1.1
  • python312 openSUSE Tumbleweed 3.12.5-1.1
  • python310 openSUSE Tumbleweed 3.10.14-3.1
  • python311 openSUSE Tumbleweed 3.11.9-3.1
  • python38 openSUSE Tumbleweed 3.8.19-4.1
  • python39 openSUSE Tumbleweed 3.9.19-3.1

opensuse advisories openSUSE-SU-2025:15713-1openSUSE-SU-2024:14434-1openSUSE-SU-2024:14326-1openSUSE-SU-2024:14295-1openSUSE-SU-2024:14083-1openSUSE-SU-2024:14082-1

  • python3.12 AlmaLinux 9 3.12.5-2.el9
  • python3.12-idle AlmaLinux 9 3.12.5-2.el9
  • python3.12-libs AlmaLinux 9 3.12.5-2.el9
  • python3.12-test AlmaLinux 9 3.12.5-2.el9
  • python3.12-tkinter AlmaLinux 9 3.12.5-2.el9
  • python3.12 AlmaLinux 8 3.12.5-2.el8_10
  • python3.12-idle AlmaLinux 8 3.12.5-2.el8_10
  • python3.12-libs AlmaLinux 8 3.12.5-2.el8_10

almalinux advisories ALSA-2024:9190ALSA-2024:6961ALSA-2024:6962ALSA-2024:6975ALSA-2024:5962ALSA-2024:4766

  • numpy Rocky Linux 8 1.19.4-3.module+el8.10.0+1582+bc278001
  • numpy Rocky Linux 8 1.19.4-3.module+el8.10.0+1860+afcc1c71
  • scipy Rocky Linux 8 1.5.4-5.module+el8.10.0+1582+bc278001
  • scipy Rocky Linux 8 1.5.4-5.module+el8.10.0+1860+afcc1c71
  • Cython Rocky Linux 8 0.29.21-5.module+el8.10.0+1860+afcc1c71
  • Cython Rocky Linux 8 0.29.21-5.module+el8.10.0+1582+bc278001
  • pytest Rocky Linux 8 6.0.2-2.module+el8.10.0+1582+bc278001
  • pytest Rocky Linux 8 6.0.2-2.module+el8.10.0+1860+afcc1c71

rocky linux advisories RLSA-2024:5962RLSA-2024:9190RLSA-2024:6961RLSA-2024:6962RLSA-2024:6975

  • python3 Alpine 3.17 3.10.15-r0
  • python3 Alpine 3.19, Alpine 3.18 3.11.10-r0
  • python3 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 3.12.6-r0

alpine advisories ALPINE-CVE-2024-4032

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python3 Azure Linux 3.0 3.12.9-1
  • python3 CBL-Mariner 2.0 3.9.19-6

azure linux advisories AZL-42772AZL-42811

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-4032 updated cvss 3.7

python: incorrect IPv4 and IPv6 private ranges

  • Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more
    affected: no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder (v. 9) python3.12 3.12.5-2.el9, python3.12-idle 3.12.5-2.el9, python3.12-test 3.12.5-2.el9, python3.12-tkinter 3.12.5-2.el9
    fixed: vendor fix RHSA-2024:9190
  • Red Hat Enterprise Linux AppStream (v. 8) python3.11 3.11.9-7.el8_10, python3.12 3.12.5-2.el8_10, python3-idle 3.6.8-67.el8_10, python3-test 3.6.8-67.el8_10, platform-python 3.6.8-67.el8_10, python3-tkinter 3.6.8-67.el8_10, +61 more
    fixed: vendor fix RHSA-2024:5962
  • Red Hat Enterprise Linux AppStream (v. 9) python3.12 3.12.5-2.el9, python3.11 3.11.7-1.el9_4.3, python3.12-libs 3.12.5-2.el9, python3.12-tkinter 3.12.5-2.el9, python3-tkinter 3.9.18-3.el9_4.3, python3.11-libs 3.11.7-1.el9_4.3, +2 more
    fixed: vendor fix RHSA-2024:4779
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) python3-idle 3.6.8-47.el8_6.7, python3-test 3.6.8-47.el8_6.7, platform-python 3.6.8-47.el8_6.7, python3-tkinter 3.6.8-47.el8_6.7 Red Hat Enterprise Linux AppStream E4S (v.8.6) python3-idle 3.6.8-47.el8_6.7, python3-test 3.6.8-47.el8_6.7, platform-python 3.6.8-47.el8_6.7, python3-tkinter 3.6.8-47.el8_6.7
    fixed: vendor fix RHSA-2024:7417
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) python3-idle 3.6.8-51.el8_8.7, python3-test 3.6.8-51.el8_8.7, platform-python 3.6.8-51.el8_8.7, python3-tkinter 3.6.8-51.el8_8.7
    fixed: vendor fix RHSA-2024:6030
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) python3-idle 3.6.8-47.el8_6.7, python3-test 3.6.8-47.el8_6.7, platform-python 3.6.8-47.el8_6.7, python3-tkinter 3.6.8-47.el8_6.7
    fixed: vendor fix RHSA-2024:7417
  • Red Hat Enterprise Linux BaseOS (v. 8) python3 3.6.8-67.el8_10, python3-libs 3.6.8-67.el8_10, python3-test 3.6.8-67.el8_10, platform-python 3.6.8-67.el8_10
    fixed: vendor fix RHSA-2024:6975
show 8 more
  • Red Hat Enterprise Linux BaseOS (v. 9) python3 3.9.18-3.el9_4.3, python3.9 3.9.18-3.el9_4.3, python3-libs 3.9.18-3.el9_4.3
    fixed: vendor fix RHSA-2024:4779
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) python3 3.6.8-47.el8_6.7, python3-libs 3.6.8-47.el8_6.7, python3-test 3.6.8-47.el8_6.7, platform-python 3.6.8-47.el8_6.7 Red Hat Enterprise Linux BaseOS E4S (v.8.6) python3 3.6.8-47.el8_6.7, python3-libs 3.6.8-47.el8_6.7, python3-test 3.6.8-47.el8_6.7, platform-python 3.6.8-47.el8_6.7
    fixed: vendor fix RHSA-2024:7417
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) python3 3.6.8-51.el8_8.7, python3-libs 3.6.8-51.el8_8.7, python3-test 3.6.8-51.el8_8.7, platform-python 3.6.8-51.el8_8.7
    fixed: vendor fix RHSA-2024:6030
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) python3 3.6.8-47.el8_6.7, python3-libs 3.6.8-47.el8_6.7, python3-test 3.6.8-47.el8_6.7, platform-python 3.6.8-47.el8_6.7
    fixed: vendor fix RHSA-2024:7417
  • Red Hat Enterprise Linux CRB (v. 8) python3.11 3.11.9-7.el8_10, python3.12 3.12.5-2.el8_10, python3.11-idle 3.11.9-7.el8_10, python3.11-test 3.11.9-7.el8_10, python3.12-idle 3.12.5-2.el8_10, python3.12-test 3.12.5-2.el8_10, +24 more
    fixed: vendor fix RHSA-2024:5962
  • Red Hat Enterprise Linux CRB (v. 9) python3 3.9.18-3.el9_4.3, python3.11 3.11.7-1.el9_4.3, python3-idle 3.9.18-3.el9_4.3, python3-test 3.9.18-3.el9_4.3, python3-tkinter 3.9.18-3.el9_4.3, python3.11-idle 3.11.7-1.el9_4.3, +2 more
    fixed: vendor fix RHSA-2024:4779
  • Red Hat OpenShift AI 8 rhoai/odh-rhel8-operator v2.13.1-2, rhoai/odh-dashboard-rhel8 v2.13.1-1, rhoai/odh-modelmesh-rhel8 v2.13.1-1, rhoai/odh-operator-bundle v2.13.1-2, rhoai/odh-rhel8-operator v2.14.0-24, rhoai/odh-dashboard-rhel8 v2.14.0-11, +56 more
    fixed: vendor fix RHBA-2024:8413
  • Red Hat Enterprise Linux 8 scipy, python36, python-nose, python-wheel, python3-bson, python3-nose, +19 more Red Hat Enterprise Linux 10 python3.12
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.08% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
bitnami libpython
<3.8.20
>=3.9.0, <3.9.20
>=3.10.0, <3.10.15
>=3.11.0, <3.11.10
>=3.12.0, <3.12.4
3.8.20
3.9.20
3.10.15
3.11.10
3.12.4
bitnami python
<3.8.20
>=3.9.0, <3.9.20
>=3.10.0, <3.10.15
>=3.11.0, <3.11.10
>=3.12.0, <3.12.4
3.8.20
3.9.20
3.10.15
3.11.10
3.12.4
bitnami python-min
<3.8.20
>=3.9.0, <3.9.20
>=3.10.0, <3.10.15
>=3.11.0, <3.11.10
>=3.12.0, <3.12.4
3.8.20
3.9.20
3.10.15
3.11.10
3.12.4

Affected products

  • Python Software Foundation CPython
  • python cpython

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.