{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-6232 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-6232 is a high-severity denial of service vulnerability in Python Python, published on 3 Sep 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-6232 and fix it if it is affected.\n\nWhat it is: CVE-2024-6232 is a high-severity denial of service vulnerability in Python Python, published on 3 Sep 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-6232 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-6232/ (Markdown: https://insights.sbomify.com/CVE-2024-6232/index.md)","id":"CVE-2024-6232","markdown":"https://insights.sbomify.com/CVE-2024-6232/index.md","name":"CVE-2024-6232","record":{"aliases":["ALPINE-CVE-2024-6232","ALSA-2024:8359","ALSA-2024:8374","ALSA-2024:8446","ALSA-2024:8447","ALSA-2024:8836","ALSA-2024:8838","ALSA-2024:9450","ALSA-2024:9451","ALSA-2024:9468","AZL-109671","AZL-48552","AZL-48585","AZL-48740","BELL-CVE-2024-6232","BIT-libpython-2024-6232","BIT-python-2024-6232","BIT-python-min-2024-6232","CLEANSTART-2026-QV04553","CLSA-2024-1727289456","CLSA-2025-1740477793","DEBIAN-CVE-2024-6232","GHSA-mmm5-wgvp-wp8r","PSF-2024-11","RHSA-2024:7647","RHSA-2024:8130","RHSA-2024:8359","RHSA-2024:8374","RHSA-2024:8446","RHSA-2024:8447","RHSA-2024:8490","RHSA-2024:8504","RHSA-2024:8797","RHSA-2024:8836","RHSA-2024:8838","RHSA-2024:8977","RHSA-2024:9450","RHSA-2024:9451","RHSA-2024:9468","RHSA-2025:1750","RLSA-2024:8359","RLSA-2024:8374","RLSA-2024:8446","RLSA-2024:8447","RLSA-2024:8836","RLSA-2024:8838","SUSE-SU-2024:3430-1","SUSE-SU-2024:3447-1","UBUNTU-CVE-2024-6232","openSUSE-SU-2024:14327-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"none","summary":"Attackers can cause denial of service in applications using Python's tarfile module by providing crafted tar archives that trigger excessive regex backtracking.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[{"product":"python","vendor":"python"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"There is a MEDIUM severity vulnerability affecting CPython.\n\nRegular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_aus:7.7::server","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.4::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::crb","Red Hat:rhel_tus:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-02-18","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-18T09:26:18Z","kind":"github_poc","ref":"https://github.com/bgutowski/CVE-2025-4517-POC-Sudoers","stars":0,"title":"Exploit for CVE-2024-6232 - Python Tarfile Realpath Overflow"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Regular-expression DoS when parsing TarFile headers","id":"CVE-2024-6232","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"denial_of_service","year":"2024"},"n_packages":962,"n_references":10,"next":{"headline":"Check Point ZoneAlarm Extreme Security Link Following Local Privilege Escalation Vulnerability","id":"CVE-2024-6233"},"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-6232"},{"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-6232"},{"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-6232"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.10-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/almalinux/python3.11","source":"ALSA-2024:8838"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.10-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-debug","purl":"pkg:rpm/almalinux/python3.11-debug","source":"ALSA-2024:8838"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.10-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/almalinux/python3.11-devel","source":"ALSA-2024:8838"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.10-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-idle","purl":"pkg:rpm/almalinux/python3.11-idle","source":"ALSA-2024:8838"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.10-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/almalinux/python3.11-libs","source":"ALSA-2024:8838"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.10-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-rpm-macros","purl":"pkg:rpm/almalinux/python3.11-rpm-macros","source":"ALSA-2024:8838"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.10-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-test","purl":"pkg:rpm/almalinux/python3.11-test","source":"ALSA-2024:8838"},{"ecosystem":"AlmaLinux:8","fixed":["3.11.10-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/almalinux/python3.11-tkinter","source":"ALSA-2024:8838"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.6-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/almalinux/python3.12","source":"ALSA-2024:8836"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.6-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/almalinux/python3.12-debug","source":"ALSA-2024:8836"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.6-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/almalinux/python3.12-devel","source":"ALSA-2024:8836"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.6-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-idle","purl":"pkg:rpm/almalinux/python3.12-idle","source":"ALSA-2024:8836"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.6-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/almalinux/python3.12-libs","source":"ALSA-2024:8836"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.6-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-rpm-macros","purl":"pkg:rpm/almalinux/python3.12-rpm-macros","source":"ALSA-2024:8836"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.6-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-test","purl":"pkg:rpm/almalinux/python3.12-test","source":"ALSA-2024:8836"},{"ecosystem":"AlmaLinux:8","fixed":["3.12.6-1.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/almalinux/python3.12-tkinter","source":"ALSA-2024:8836"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39","purl":"pkg:rpm/almalinux/python39","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["0.29.21-5.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-Cython","purl":"pkg:rpm/almalinux/python39-Cython","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["0.29.21-5.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-Cython","purl":"pkg:rpm/almalinux/python39-Cython","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["0.10.1-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-PyMySQL","purl":"pkg:rpm/almalinux/python39-PyMySQL","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["20.3.0-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-attrs","purl":"pkg:rpm/almalinux/python39-attrs","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-cffi","purl":"pkg:rpm/almalinux/python39-cffi","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-cffi","purl":"pkg:rpm/almalinux/python39-cffi","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.4-19.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-chardet","purl":"pkg:rpm/almalinux/python39-chardet","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["3.3.1-3.module_el8.10.0+3765+2f9a457d"],"introduced":["0"],"last_affected":[],"package":"python39-cryptography","purl":"pkg:rpm/almalinux/python39-cryptography","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39-debug","purl":"pkg:rpm/almalinux/python39-debug","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39-devel","purl":"pkg:rpm/almalinux/python39-devel","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39-idle","purl":"pkg:rpm/almalinux/python39-idle","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["2.10-4.module_el8.10.0+3849+a48d89aa"],"introduced":["0"],"last_affected":[],"package":"python39-idna","purl":"pkg:rpm/almalinux/python39-idna","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["1.1.1-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-iniconfig","purl":"pkg:rpm/almalinux/python39-iniconfig","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39-libs","purl":"pkg:rpm/almalinux/python39-libs","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["4.6.5-1.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-lxml","purl":"pkg:rpm/almalinux/python39-lxml","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["4.6.5-1.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-lxml","purl":"pkg:rpm/almalinux/python39-lxml","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["4.7.1-7.module_el8.9.0+3634+fb2a896c"],"introduced":["0"],"last_affected":[],"package":"python39-mod_wsgi","purl":"pkg:rpm/almalinux/python39-mod_wsgi","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["8.5.0-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-more-itertools","purl":"pkg:rpm/almalinux/python39-more-itertools","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-numpy","purl":"pkg:rpm/almalinux/python39-numpy","source":"ALSA-2024:8359"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-numpy","purl":"pkg:rpm/almalinux/python39-numpy","source":"ALSA-2024:8359"}],"prev":{"headline":"Request a Quote \u003c 2.4.1 - Admin+ Stored XSS","id":"CVE-2024-6231"},"products":["CPython"],"published":"2024-09-03","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2008-5031","kev_date_added":null,"published":"2008-11-10"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2014-4650","kev_date_added":null,"published":"2020-02-20"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-5636","kev_date_added":null,"published":"2016-09-02"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2007-4559","kev_date_added":null,"published":"2007-08-28"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-17522","kev_date_added":null,"published":"2017-12-14"},{"cvss_score":8.7,"headline":"Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations","id":"CVE-2026-15308","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2019-13404","kev_date_added":null,"published":"2019-07-08"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["Python Software Foundation"]},"summary":"Attackers can cause denial of service in applications using Python's tarfile module by providing crafted tar archives that trigger excessive regex backtracking.","url":"https://insights.sbomify.com/CVE-2024-6232/"}