{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0450 exists.","fix":"Upgrade libpython to a fixed version for your release line: 3.8.19, 3.9.19, 3.10.14 or 3.11.8.","what":"CVE-2024-0450 is a medium-severity denial of service vulnerability in CPython, published on 19 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-0450 and fix it if it is affected.\n\nWhat it is: CVE-2024-0450 is a medium-severity denial of service vulnerability in CPython, published on 19 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0450 exists.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.8.19, 3.9.19, 3.10.14, 3.11.8, 3.12.2\n- python (Bitnami): affected all versions; fixed in 3.8.19, 3.9.19, 3.10.14, 3.11.8, 3.12.2\n- python-min (Bitnami): affected all versions; fixed in 3.8.19, 3.9.19, 3.10.14, 3.11.8, 3.12.2\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-0450/ (Markdown: https://insights.sbomify.com/CVE-2024-0450/index.md)","id":"CVE-2024-0450","markdown":"https://insights.sbomify.com/CVE-2024-0450/index.md","name":"CVE-2024-0450","record":{"aliases":["ALPINE-CVE-2024-0450","ALSA-2024:4243","AZL-36894","AZL-42573","BIT-libpython-2024-0450","BIT-python-2024-0450","BIT-python-min-2024-0450","CLSA-2024-1720178375","CLSA-2024-1720772189","CLSA-2024-1723482251","CLSA-2024-1724259346","CLSA-2024-1724260328","CLSA-2024-1734642829","DEBIAN-CVE-2024-0450","DLA-3771-1","GHSA-jm46-725r-hh9v","OESA-2024-2141","PSF-2024-2","RHSA-2024:4243","RLSA-2024:4243","SUSE-SU-2024:1843-1","SUSE-SU-2024:1844-1","UBUNTU-CVE-2024-0450","openSUSE-SU-2024:13794-1","openSUSE-SU-2024:13983-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python zipfile module","requires_auth":"none","summary":"Attackers can cause denial of service in applications using the Python zipfile module by submitting crafted zip archives with high compression ratios.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-405","name":"Asymmetric Resource Consumption (Amplification)"}],"description":"An issue was found in the CPython `zipfile` module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior.\n\nThe zipfile module is vulnerable to “quoted-overlap” zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython makes the zipfile module reject zip archives which overlap entries in the archive.","ecosystems":["AlmaLinux:8","Bitnami","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Rocky Linux:8","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","SUSE:Linux Enterprise Workstation Extension 12 SP5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Quoted zip-bomb protection for zipfile","id":"CVE-2024-0450","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":43,"n_references":15,"next":{"headline":"AI ChatBot \u003c= 5.3.4 - Missing Authorization via openai_file_list_callback","id":"CVE-2024-0451"},"packages":[{"ecosystem":"Bitnami","fixed":["3.8.19","3.9.19","3.10.14","3.11.8","3.12.2"],"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-0450"},{"ecosystem":"Bitnami","fixed":["3.8.19","3.9.19","3.10.14","3.11.8","3.12.2"],"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-0450"},{"ecosystem":"Bitnami","fixed":["3.8.19","3.9.19","3.10.14","3.11.8","3.12.2"],"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-0450"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/almalinux/python3.12","source":"ALSA-2024:4243"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/almalinux/python3.12-debug","source":"ALSA-2024:4243"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/almalinux/python3.12-devel","source":"ALSA-2024:4243"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-idle","purl":"pkg:rpm/almalinux/python3.12-idle","source":"ALSA-2024:4243"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/almalinux/python3.12-libs","source":"ALSA-2024:4243"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-rpm-macros","purl":"pkg:rpm/almalinux/python3.12-rpm-macros","source":"ALSA-2024:4243"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-test","purl":"pkg:rpm/almalinux/python3.12-test","source":"ALSA-2024:4243"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/almalinux/python3.12-tkinter","source":"ALSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/redhat/python3.12","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debuginfo","purl":"pkg:rpm/redhat/python3.12-debuginfo","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debugsource","purl":"pkg:rpm/redhat/python3.12-debugsource","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/redhat/python3.12-devel","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/redhat/python3.12-libs","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-rpm-macros","purl":"pkg:rpm/redhat/python3.12-rpm-macros","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/redhat/python3.12-tkinter","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/redhat/python3.12","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/redhat/python3.12-debug","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debuginfo","purl":"pkg:rpm/redhat/python3.12-debuginfo","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debugsource","purl":"pkg:rpm/redhat/python3.12-debugsource","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-idle","purl":"pkg:rpm/redhat/python3.12-idle","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-test","purl":"pkg:rpm/redhat/python3.12-test","source":"RHSA-2024:4243"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/redhat/python3.12-tkinter","source":"RHSA-2024:4243"},{"ecosystem":"Rocky Linux:8","fixed":["0:3.12.3-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/rocky-linux/python3.12?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2024:4243"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","fixed":["3.4.10-25.130.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012","source":"SUSE-SU-2024:1843-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","fixed":["3.4.10-25.130.1"],"introduced":["0"],"last_affected":[],"package":"python3-base","purl":"pkg:rpm/suse/python3-base\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012","source":"SUSE-SU-2024:1843-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.7.18-33.35.1"],"introduced":["0"],"last_affected":[],"package":"python","purl":"pkg:rpm/suse/python\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1844-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.7.18-33.35.1"],"introduced":["0"],"last_affected":[],"package":"python-base","purl":"pkg:rpm/suse/python-base\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1844-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.7.18-33.35.1"],"introduced":["0"],"last_affected":[],"package":"python-doc","purl":"pkg:rpm/suse/python-doc\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1844-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.4.10-25.130.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1843-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.4.10-25.130.1"],"introduced":["0"],"last_affected":[],"package":"python3-base","purl":"pkg:rpm/suse/python3-base\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:1843-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.7.18-33.35.1"],"introduced":["0"],"last_affected":[],"package":"python","purl":"pkg:rpm/suse/python\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1844-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.7.18-33.35.1"],"introduced":["0"],"last_affected":[],"package":"python-base","purl":"pkg:rpm/suse/python-base\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1844-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.7.18-33.35.1"],"introduced":["0"],"last_affected":[],"package":"python-doc","purl":"pkg:rpm/suse/python-doc\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1844-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["3.4.10-25.130.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1843-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["3.4.10-25.130.1"],"introduced":["0"],"last_affected":[],"package":"python3-base","purl":"pkg:rpm/suse/python3-base\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:1843-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["3.4.10-25.130.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:1843-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["3.4.10-25.130.1"],"introduced":["0"],"last_affected":[],"package":"python3-base","purl":"pkg:rpm/suse/python3-base\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:1843-1"}],"prev":{"headline":"ArtiBot Free Chat Bot for WordPress WebSites \u003c= 1.1.6 - Authenticated (Admin+) Cross-Site Scripting","id":"CVE-2024-0449"},"products":["CPython"],"published":"2024-03-19","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":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["Python Software Foundation"]},"summary":"Attackers can cause denial of service in applications using the Python zipfile module by submitting crafted zip archives with high compression ratios.","url":"https://insights.sbomify.com/CVE-2024-0450/"}