{"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-8088 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-8088 is a high-severity denial of service vulnerability in CPython, published on 22 Aug 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-8088 and fix it if it is affected.\n\nWhat it is: CVE-2024-8088 is a high-severity denial of service vulnerability in CPython, published on 22 Aug 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-8088 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.6\n- python (Bitnami): affected all versions; fixed in 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6\n- python-min (Bitnami): affected all versions; fixed in 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6\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-8088/ (Markdown: https://insights.sbomify.com/CVE-2024-8088/index.md)","id":"CVE-2024-8088","markdown":"https://insights.sbomify.com/CVE-2024-8088/index.md","name":"CVE-2024-8088","record":{"aliases":["ALPINE-CVE-2024-8088","ALSA-2024:9371","AZL-48114","AZL-48125","AZL-48141","BELL-CVE-2024-8088","BIT-libpython-2024-8088","BIT-python-2024-8088","BIT-python-min-2024-8088","CLEANSTART-2026-IH24407","CLSA-2024-1732700855","DEBIAN-CVE-2024-8088","GHSA-q98g-hxg3-268c","PSF-2024-10","RHSA-2024:9371","UBUNTU-CVE-2024-8088","openSUSE-SU-2024:14296-1","openSUSE-SU-2024:14297-1","openSUSE-SU-2024:14298-1","openSUSE-SU-2024:14299-1","openSUSE-SU-2024:14300-1","openSUSE-SU-2024:14301-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python zipfile module","requires_auth":"none","summary":"Attackers can cause a denial of service via infinite loop in Python's zipfile.Path when processing malicious archives.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N/AU:N/R:U/RE:L","version":"4.0"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"There is a HIGH severity vulnerability affecting the CPython \"zipfile\"\nmodule affecting \"zipfile.Path\". Note that the more common API \"zipfile.ZipFile\" class is unaffected.\n\nWhen iterating over names of entries in a zip archive (for example, methods\nof \"zipfile.Path\" like \"namelist()\", \"iterdir()\", etc)\nthe process can be put into an infinite loop with a maliciously crafted\nzip archive. This defect applies when reading only metadata or extracting\nthe contents of the zip archive. Programs that are not handling\nuser-controlled zip archives are not affected.","ecosystems":["AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","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":"Infinite loop when iterating over zip archive entry names from zipfile.Path","id":"CVE-2024-8088","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":34,"n_references":16,"next":{"headline":"SourceCodester E-Commerce System controller.php unrestricted upload","id":"CVE-2024-8089"},"packages":[{"ecosystem":"Bitnami","fixed":["3.8.20","3.9.20","3.10.15","3.11.10","3.12.6"],"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-8088"},{"ecosystem":"Bitnami","fixed":["3.8.20","3.9.20","3.10.15","3.11.10","3.12.6"],"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-8088"},{"ecosystem":"Bitnami","fixed":["3.8.20","3.9.20","3.10.15","3.11.10","3.12.6"],"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-8088"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/almalinux/python-unversioned-command","source":"ALSA-2024:9371"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/almalinux/python3","source":"ALSA-2024:9371"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/almalinux/python3-debug","source":"ALSA-2024:9371"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/almalinux/python3-devel","source":"ALSA-2024:9371"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/almalinux/python3-idle","source":"ALSA-2024:9371"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/almalinux/python3-libs","source":"ALSA-2024:9371"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/almalinux/python3-test","source":"ALSA-2024:9371"},{"ecosystem":"AlmaLinux:9","fixed":["3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/almalinux/python3-tkinter","source":"ALSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/redhat/python-unversioned-command","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/redhat/python3-devel","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/redhat/python3-tkinter","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3.9-debuginfo","purl":"pkg:rpm/redhat/python3.9-debuginfo","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3.9-debugsource","purl":"pkg:rpm/redhat/python3.9-debugsource","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/redhat/python3","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/redhat/python3-libs","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3.9","purl":"pkg:rpm/redhat/python3.9","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3.9-debuginfo","purl":"pkg:rpm/redhat/python3.9-debuginfo","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3.9-debugsource","purl":"pkg:rpm/redhat/python3.9-debugsource","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/redhat/python3","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/redhat/python3-debug","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/redhat/python3-idle","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/redhat/python3-test","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/redhat/python3-tkinter","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3.9-debuginfo","purl":"pkg:rpm/redhat/python3.9-debuginfo","source":"RHSA-2024:9371"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.9.19-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3.9-debugsource","purl":"pkg:rpm/redhat/python3.9-debugsource","source":"RHSA-2024:9371"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.10.14-7.1"],"introduced":["0"],"last_affected":[],"package":"python310","purl":"pkg:rpm/opensuse/python310\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14298-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.11.9-7.1"],"introduced":["0"],"last_affected":[],"package":"python311","purl":"pkg:rpm/opensuse/python311\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14299-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.12.5-2.1"],"introduced":["0"],"last_affected":[],"package":"python312","purl":"pkg:rpm/opensuse/python312\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14300-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.13.0~rc1-3.1"],"introduced":["0"],"last_affected":[],"package":"python313","purl":"pkg:rpm/opensuse/python313\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14301-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.8.19-8.1"],"introduced":["0"],"last_affected":[],"package":"python38","purl":"pkg:rpm/opensuse/python38\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14296-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.9.19-7.1"],"introduced":["0"],"last_affected":[],"package":"python39","purl":"pkg:rpm/opensuse/python39\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14297-1"}],"prev":{"headline":"SourceCodester E-Commerce System popup_Item.php sql injection","id":"CVE-2024-8087"},"products":["CPython"],"published":"2024-08-22","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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"Attackers can cause a denial of service via infinite loop in Python's zipfile.Path when processing malicious archives.","url":"https://insights.sbomify.com/CVE-2024-8088/"}