{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min.","exploited":"There is no known exploitation of CVE-2024-4032 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.8.20, 3.9.20, 3.10.15 or 3.11.10.","what":"CVE-2024-4032 is a high-severity vulnerability in CPython, published on 17 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-4032 and fix it if it is affected.\n\nWhat it is: CVE-2024-4032 is a high-severity vulnerability in CPython, published on 17 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-4032 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.4\n- python (Bitnami): affected all versions; fixed in 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.4\n- python-min (Bitnami): affected all versions; fixed in 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-4032/ (Markdown: https://insights.sbomify.com/CVE-2024-4032/index.md)","id":"CVE-2024-4032","markdown":"https://insights.sbomify.com/CVE-2024-4032/index.md","name":"CVE-2024-4032","record":{"aliases":["ALPINE-CVE-2024-4032","ALSA-2024:4766","ALSA-2024:4779","AZL-42772","AZL-42811","BELL-CVE-2024-4032","BIT-libpython-2024-4032","BIT-python-2024-4032","BIT-python-min-2024-4032","CLEANSTART-2026-XR93772","CLSA-2024-1727374287","CLSA-2024-1728403634","CLSA-2024-1728404424","CLSA-2026-1778880543","CLSA-2026-1778932682","DEBIAN-CVE-2024-4032","GHSA-mh6q-v4mp-2cc7","PSF-2024-5","RHSA-2024:4766","RHSA-2024:4779","RHSA-2024:6030","RHSA-2024:7417","SUSE-SU-2024:2254-1","SUSE-SU-2024:2414-1","SUSE-SU-2024:2959-1","UBUNTU-CVE-2024-4032","USN-6941-1","openSUSE-SU-2024:14078-1","openSUSE-SU-2024:14079-1","openSUSE-SU-2024:14083-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"none","summary":"Incorrect IP address classification in Python's ipaddress module may allow attackers to bypass security checks relying on private or global IP status.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"}],"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.\n\nCPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior.","ecosystems":["AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.6::baseos","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP5","SUSE:Linux Enterprise Module for Web and Scripting 12","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Incorrect IPv4 and IPv6 private ranges","id":"CVE-2024-4032","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":129,"n_references":13,"next":{"headline":"All-in-One Video Gallery \u003c= 3.6.4 - Authenticated (Contributor+) Arbitrary File Upload via featured image","id":"CVE-2024-4033"},"packages":[{"ecosystem":"Bitnami","fixed":["3.8.20","3.9.20","3.10.15","3.11.10","3.12.4"],"introduced":["0","3.9.0","3.10.0","3.11.0","3.12.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2024-4032"},{"ecosystem":"Bitnami","fixed":["3.8.20","3.9.20","3.10.15","3.11.10","3.12.4"],"introduced":["0","3.9.0","3.10.0","3.11.0","3.12.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2024-4032"},{"ecosystem":"Bitnami","fixed":["3.8.20","3.9.20","3.10.15","3.11.10","3.12.4"],"introduced":["0","3.9.0","3.10.0","3.11.0","3.12.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2024-4032"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/almalinux/python-unversioned-command","source":"ALSA-2024:4779"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/almalinux/python3","source":"ALSA-2024:4779"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/almalinux/python3-debug","source":"ALSA-2024:4779"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/almalinux/python3-devel","source":"ALSA-2024:4779"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/almalinux/python3-idle","source":"ALSA-2024:4779"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/almalinux/python3-libs","source":"ALSA-2024:4779"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/almalinux/python3-test","source":"ALSA-2024:4779"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/almalinux/python3-tkinter","source":"ALSA-2024:4779"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/almalinux/python3.11","source":"ALSA-2024:4766"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debug","purl":"pkg:rpm/almalinux/python3.11-debug","source":"ALSA-2024:4766"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/almalinux/python3.11-devel","source":"ALSA-2024:4766"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-idle","purl":"pkg:rpm/almalinux/python3.11-idle","source":"ALSA-2024:4766"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/almalinux/python3.11-libs","source":"ALSA-2024:4766"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-test","purl":"pkg:rpm/almalinux/python3.11-test","source":"ALSA-2024:4766"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/almalinux/python3.11-tkinter","source":"ALSA-2024:4766"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/redhat/python-unversioned-command","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/redhat/python3-devel","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/redhat/python3-tkinter","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/redhat/python3.11","source":"RHSA-2024:4766"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debuginfo","purl":"pkg:rpm/redhat/python3.11-debuginfo","source":"RHSA-2024:4766"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debugsource","purl":"pkg:rpm/redhat/python3.11-debugsource","source":"RHSA-2024:4766"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/redhat/python3.11-devel","source":"RHSA-2024:4766"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/redhat/python3.11-libs","source":"RHSA-2024:4766"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/redhat/python3.11-tkinter","source":"RHSA-2024:4766"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.9-debuginfo","purl":"pkg:rpm/redhat/python3.9-debuginfo","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.9-debugsource","purl":"pkg:rpm/redhat/python3.9-debugsource","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/redhat/python3","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/redhat/python3-libs","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.9","purl":"pkg:rpm/redhat/python3.9","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.9-debuginfo","purl":"pkg:rpm/redhat/python3.9-debuginfo","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.9-debugsource","purl":"pkg:rpm/redhat/python3.9-debugsource","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/redhat/python3","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/redhat/python3-debug","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/redhat/python3-idle","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/redhat/python3-test","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.18-3.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/redhat/python3-tkinter","source":"RHSA-2024:4779"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.11.7-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/redhat/python3.11","source":"RHSA-2024:4766"}],"prev":{"headline":"MEVO WEBCAM APP Windows Unquoted Service Path Vulnerability","id":"CVE-2024-4031"},"products":["CPython"],"published":"2024-06-17","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["Python Software Foundation"]},"summary":"Incorrect IP address classification in Python's ipaddress module may allow attackers to bypass security checks relying on private or global IP status.","url":"https://insights.sbomify.com/CVE-2024-4032/"}