{"answers":{"affected":"3 open source packages ship an affected version, including gunicorn.","exploited":"There is no known exploitation of CVE-2024-1135 in the wild and no public exploit code.","fix":"Upgrade gunicorn to 22.0.0 or later.","what":"CVE-2024-1135 is a high-severity vulnerability in benoitc/gunicorn, published on 16 Apr 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-1135 and fix it if it is affected.\n\nWhat it is: CVE-2024-1135 is a high-severity vulnerability in benoitc/gunicorn, published on 16 Apr 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-1135 in the wild and no public exploit code.\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-1135/ (Markdown: https://insights.sbomify.com/CVE-2024-1135/index.md)","id":"CVE-2024-1135","markdown":"https://insights.sbomify.com/CVE-2024-1135/index.md","name":"CVE-2024-1135","record":{"aliases":["CLSA-2026-1787306646","DEBIAN-CVE-2024-1135","DLA-3851-1","DLA-3996-1","ECHO-9a6c-5607-fd1b","GHSA-w3h3-4rj7-4ph4","MGASA-2024-0236","OESA-2026-3658","PYSEC-2026-1434","RHSA-2024:2727","RHSA-2024:4054","ROOT-APP-PYPI-CVE-2024-1135","SUSE-SU-2024:1440-1","SUSE-SU-2024:2881-1","UBUNTU-CVE-2024-1135","openSUSE-SU-2024:13891-1"],"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 bypass security restrictions, access restricted endpoints, and expose sensitive data.","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:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.","ecosystems":["PyPI","Red Hat:openstack:16.2::el8","Red Hat:openstack:17.1::el9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Public Cloud 15 SP2","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 SP5","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","openSUSE:Leap 15.5"],"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":"HTTP Request Smuggling in benoitc/gunicorn","id":"CVE-2024-1135","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2024"},"n_packages":19,"n_references":2,"next":{"headline":"Coming Soon Page \u0026 Maintenance Mode \u003c= 2.2.1 - Maintenance Mode Bypass","id":"CVE-2024-1136"},"packages":[{"ecosystem":"PyPI","fixed":["22.0.0"],"introduced":["0"],"last_affected":[],"package":"gunicorn","purl":null,"source":"GHSA-w3h3-4rj7-4ph4"},{"ecosystem":"PyPI","fixed":["22.0.0"],"introduced":["0"],"last_affected":[],"package":"gunicorn","purl":"pkg:pypi/gunicorn","source":"GHSA-w3h3-4rj7-4ph4"},{"ecosystem":"PyPI","fixed":["22.0.0"],"introduced":["0"],"last_affected":[],"package":"gunicorn","purl":"pkg:pypi/gunicorn","source":"PYSEC-2026-1434"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["0:19.9.0-11.el8ost"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/redhat/python-gunicorn","source":"RHSA-2024:4054"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["0:19.9.0-11.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-gunicorn","purl":"pkg:rpm/redhat/python3-gunicorn","source":"RHSA-2024:4054"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:20.0.4-7.el9ost"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/redhat/python-gunicorn","source":"RHSA-2024:2727"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:20.0.4-7.el9ost"],"introduced":["0"],"last_affected":[],"package":"python3-gunicorn","purl":"pkg:rpm/redhat/python3-gunicorn","source":"RHSA-2024:2727"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["20.1.0-150400.12.6.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-2024:1440-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["20.1.0-150400.12.6.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-2024:1440-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP2","fixed":["19.7.1-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2","source":"SUSE-SU-2024:2881-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP3","fixed":["19.7.1-150000.3.7.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-2024:2881-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["19.7.1-150000.3.7.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-2024:2881-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP5","fixed":["19.7.1-150000.3.7.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-2024:2881-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP6","fixed":["19.7.1-150000.3.7.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-2024:2881-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP5","fixed":["20.1.0-150400.12.6.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/suse/python-gunicorn\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP5","source":"SUSE-SU-2024:1440-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["20.1.0-150400.12.6.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-2024:1440-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["20.1.0-150400.12.6.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-2024:1440-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["19.7.1-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/opensuse/python-gunicorn\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:2881-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["20.1.0-150400.12.6.1"],"introduced":["0"],"last_affected":[],"package":"python-gunicorn","purl":"pkg:rpm/opensuse/python-gunicorn\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1440-1"}],"prev":{"headline":"SEOPress – On-site SEO \u003c= 7.5.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting","id":"CVE-2024-1134"},"products":["benoitc/gunicorn"],"published":"2024-04-16","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":"Red Hat","prefix":"RHSA"},{"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["benoitc"]},"summary":"Attackers can exploit HTTP request smuggling in Gunicorn to bypass security restrictions, access restricted endpoints, and expose sensitive data.","url":"https://insights.sbomify.com/CVE-2024-1135/"}