{"answers":{"affected":"3 open source packages ship an affected version, including gunicorn.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6827 exists.","fix":"Upgrade gunicorn to 22.0.0 or later.","what":"CVE-2024-6827 is a high-severity vulnerability in benoitc/gunicorn, published on 20 Mar 2025. 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-6827 and fix it if it is affected.\n\nWhat it is: CVE-2024-6827 is a high-severity vulnerability in benoitc/gunicorn, published on 20 Mar 2025. 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-6827 exists.\n\nAffected packages and fixed versions:\n- gunicorn (PyPI): affected all versions; fixed in 22.0.0\n- gunicorn (PyPI): affected all versions; fixed in 22.0.0\n- gunicorn (PyPI): affected all versions; fixed in 22.0.0\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-6827/ (Markdown: https://insights.sbomify.com/CVE-2024-6827/index.md)","id":"CVE-2024-6827","markdown":"https://insights.sbomify.com/CVE-2024-6827/index.md","name":"CVE-2024-6827","record":{"aliases":["CLSA-2026-1772496718","CLSA-2026-1772496723","DEBIAN-CVE-2024-6827","ECHO-b35c-9032-db2f","GHSA-hc5x-x2vx-497g","OESA-2026-3657","OESA-2026-3660","OESA-2026-3724","PYSEC-2026-1433","ROOT-APP-PYPI-CVE-2024-6827","SUSE-SU-2025:1002-1","SUSE-SU-2025:1008-1","UBUNTU-CVE-2024-6827"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python WSGI HTTP Server","requires_auth":"none","summary":"Attackers can exploit HTTP request smuggling in Gunicorn to poison caches, expose data, or bypass security controls due to improper Transfer-Encoding validation.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"Gunicorn version 21.2.0 does not properly validate the value of the 'Transfer-Encoding' header as specified in the RFC standards, which leads to the default fallback method of 'Content-Length,' making it vulnerable to TE.CL request smuggling. This vulnerability can lead to cache poisoning, data exposure, session manipulation, SSRF, XSS, DoS, data integrity compromise, security bypass, information leakage, and business logic abuse.","ecosystems":["PyPI","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Public Cloud 15 SP3","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP6","SUSE:Linux Enterprise Module for Python 3 15 SP6","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"HTTP Request Smuggling in benoitc/gunicorn","id":"CVE-2024-6827","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2024"},"n_packages":17,"n_references":1,"next":{"headline":"Redux Framework 4.4.12 - 4.4.17 - Unauthenticated JSON File Upload to Stored Cross-Site Scripting","id":"CVE-2024-6828"},"packages":[{"ecosystem":"PyPI","fixed":["22.0.0"],"introduced":["0"],"last_affected":[],"package":"gunicorn","purl":null,"source":"GHSA-hc5x-x2vx-497g"},{"ecosystem":"PyPI","fixed":["22.0.0"],"introduced":["0"],"last_affected":[],"package":"gunicorn","purl":"pkg:pypi/gunicorn","source":"GHSA-hc5x-x2vx-497g"},{"ecosystem":"PyPI","fixed":["22.0.0"],"introduced":["0"],"last_affected":[],"package":"gunicorn","purl":"pkg:pypi/gunicorn","source":"PYSEC-2026-1433"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP3","fixed":["19.7.1-150000.3.10.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP3","source":"SUSE-SU-2025:1002-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["19.7.1-150000.3.10.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2025:1002-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP5","fixed":["19.7.1-150000.3.10.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5","source":"SUSE-SU-2025:1002-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP6","fixed":["19.7.1-150000.3.10.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP6","source":"SUSE-SU-2025:1002-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP6","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP6","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2025:1008-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["20.1.0-150400.12.9.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/opensuse/python-gunicorn\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:1008-1"}],"prev":{"headline":"Allocation of Resources Without Limits or Throttling in GitLab","id":"CVE-2024-6826"},"products":["benoitc/gunicorn"],"published":"2025-03-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-15","vendors":["benoitc"]},"summary":"Attackers can exploit HTTP request smuggling in Gunicorn to poison caches, expose data, or bypass security controls due to improper Transfer-Encoding validation.","url":"https://insights.sbomify.com/CVE-2024-6827/"}