{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7592 exists.","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-7592 is a high-severity denial of service vulnerability in Python Python, published on 19 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-7592 and fix it if it is affected.\n\nWhat it is: CVE-2024-7592 is a high-severity denial of service vulnerability in Python Python, published on 19 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7592 exists.\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-7592/ (Markdown: https://insights.sbomify.com/CVE-2024-7592/index.md)","id":"CVE-2024-7592","markdown":"https://insights.sbomify.com/CVE-2024-7592/index.md","name":"CVE-2024-7592","record":{"aliases":["ALPINE-CVE-2024-7592","ALSA-2025:3631","ALSA-2025:3634","AZL-109674","AZL-47860","AZL-47865","AZL-48036","BELL-CVE-2024-7592","BIT-libpython-2024-7592","BIT-python-2024-7592","BIT-python-min-2024-7592","CLEANSTART-2026-AY28538","CLSA-2024-1727980155","CLSA-2024-1728071268","CLSA-2024-1728403484","CLSA-2024-1728404213","CLSA-2025-1744623473","CLSA-2025-1744874696","CLSA-2025-1745530034","DEBIAN-CVE-2024-7592","GHSA-7pwv-g7hj-39pr","PSF-2024-9","RHSA-2025:3631","RHSA-2025:3634","RLSA-2025:3631","RLSA-2025:3634","SUSE-SU-2026:0774-1","SUSE-SU-2026:0802-1","UBUNTU-CVE-2024-7592","openSUSE-SU-2024:14352-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 excessive CPU consumption in Python applications by sending cookies with backslashes, leading to denial of service.","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"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"There is a LOW severity vulnerability affecting CPython, specifically the\n'http.cookies' standard library module.\n\nWhen parsing cookies that contained backslashes for quoted characters in\nthe cookie value, the parser would use an algorithm with quadratic\ncomplexity, resulting in excess CPU resources being used while parsing the\nvalue.","ecosystems":["AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:9","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","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":"weaponised"},"has_fix":true,"headline":"Quadratic complexity parsing cookies with backslashes","id":"CVE-2024-7592","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"denial_of_service","year":"2024"},"n_packages":54,"n_references":10,"next":{"headline":"Ivanti Virtual Traffic Manager Authentication Bypass","id":"CVE-2024-7593"},"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-7592"},{"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-7592"},{"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-7592"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/almalinux/python3.11","source":"ALSA-2025:3634"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debug","purl":"pkg:rpm/almalinux/python3.11-debug","source":"ALSA-2025:3634"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/almalinux/python3.11-devel","source":"ALSA-2025:3634"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-idle","purl":"pkg:rpm/almalinux/python3.11-idle","source":"ALSA-2025:3634"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/almalinux/python3.11-libs","source":"ALSA-2025:3634"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-test","purl":"pkg:rpm/almalinux/python3.11-test","source":"ALSA-2025:3634"},{"ecosystem":"AlmaLinux:9","fixed":["3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/almalinux/python3.11-tkinter","source":"ALSA-2025:3634"},{"ecosystem":"AlmaLinux:9","fixed":["3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/almalinux/python3.12","source":"ALSA-2025:3631"},{"ecosystem":"AlmaLinux:9","fixed":["3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/almalinux/python3.12-debug","source":"ALSA-2025:3631"},{"ecosystem":"AlmaLinux:9","fixed":["3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/almalinux/python3.12-devel","source":"ALSA-2025:3631"},{"ecosystem":"AlmaLinux:9","fixed":["3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-idle","purl":"pkg:rpm/almalinux/python3.12-idle","source":"ALSA-2025:3631"},{"ecosystem":"AlmaLinux:9","fixed":["3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/almalinux/python3.12-libs","source":"ALSA-2025:3631"},{"ecosystem":"AlmaLinux:9","fixed":["3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-test","purl":"pkg:rpm/almalinux/python3.12-test","source":"ALSA-2025:3631"},{"ecosystem":"AlmaLinux:9","fixed":["3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/almalinux/python3.12-tkinter","source":"ALSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/redhat/python3.11","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debuginfo","purl":"pkg:rpm/redhat/python3.11-debuginfo","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debugsource","purl":"pkg:rpm/redhat/python3.11-debugsource","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/redhat/python3.11-devel","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/redhat/python3.11-libs","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/redhat/python3.11-tkinter","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/redhat/python3.12","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-debuginfo","purl":"pkg:rpm/redhat/python3.12-debuginfo","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-debugsource","purl":"pkg:rpm/redhat/python3.12-debugsource","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/redhat/python3.12-devel","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/redhat/python3.12-libs","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/redhat/python3.12-tkinter","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/redhat/python3.11","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debug","purl":"pkg:rpm/redhat/python3.11-debug","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debuginfo","purl":"pkg:rpm/redhat/python3.11-debuginfo","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-debugsource","purl":"pkg:rpm/redhat/python3.11-debugsource","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-idle","purl":"pkg:rpm/redhat/python3.11-idle","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-test","purl":"pkg:rpm/redhat/python3.11-test","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.11.9-7.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/redhat/python3.11-tkinter","source":"RHSA-2025:3634"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/redhat/python3.12","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/redhat/python3.12-debug","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-debuginfo","purl":"pkg:rpm/redhat/python3.12-debuginfo","source":"RHSA-2025:3631"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.12.5-2.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"python3.12-debugsource","purl":"pkg:rpm/redhat/python3.12-debugsource","source":"RHSA-2025:3631"}],"prev":{"headline":"Improper Input Validation vulnerability in Progress LoadMaster allows OS Command Injection","id":"CVE-2024-7591"},"products":["CPython"],"published":"2024-08-19","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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["Python Software Foundation"]},"summary":"Attackers can cause excessive CPU consumption in Python applications by sending cookies with backslashes, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2024-7592/"}