{"answers":{"affected":"3 open source packages ship an affected version, including waitress. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-24761 in the wild and no public exploit code.","fix":"Upgrade waitress to 2.1.1 or later.","what":"CVE-2022-24761 is a high-severity vulnerability in Debian Debian Linux, published on 17 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-24761 and fix it if it is affected.\n\nWhat it is: CVE-2022-24761 is a high-severity vulnerability in Debian Debian Linux, published on 17 Mar 2022. 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-2022-24761 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- waitress (PyPI): affected all versions; fixed in 2.1.1\n- waitress (PyPI): affected all versions; fixed in 2.1.1\n- waitress (PyPI): affected all versions; fixed in 2.1.1\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-2022-24761/ (Markdown: https://insights.sbomify.com/CVE-2022-24761/index.md)","id":"CVE-2022-24761","markdown":"https://insights.sbomify.com/CVE-2022-24761/index.md","name":"CVE-2022-24761","record":{"aliases":["AZL-43984","AZL-45060","DEBIAN-CVE-2022-24761","DSA-5138-1","GHSA-4f7p-27jc-3c36","MGASA-2022-0182","OESA-2022-1643","PYSEC-2022-169","RHSA-2022:1253","RHSA-2022:1254","RHSA-2022:1264","SUSE-SU-2022:3583-1","SUSE-SU-2022:3635-1","SUSE-SU-2022:3731-1","UBUNTU-CVE-2022-24761","USN-5364-1","openSUSE-SU-2024:11942-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Python WSGI server","requires_auth":"none","summary":"HTTP request smuggling in Waitress allows attackers to bypass proxy security controls and potentially access sensitive data when deployed behind a non-strict proxy.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"waitress","vendor":"agendaless"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"Waitress is a Web Server Gateway Interface server for Python 2 and 3. When using Waitress versions 2.1.0 and prior behind a proxy that does not properly validate the incoming HTTP request matches the RFC7230 standard, Waitress and the frontend proxy may disagree on where one request starts and where it ends. This would allow requests to be smuggled via the front-end proxy to waitress and later behavior. There are two classes of vulnerability that may lead to request smuggling that are addressed by this advisory: The use of Python's `int()` to parse strings into integers, leading to `+10` to be parsed as `10`, or `0x01` to be parsed as `1`, where as the standard specifies that the string should contain only digits or hex digits; and Waitress does not support chunk extensions, however it was discarding them without validating that they did not contain illegal characters. This vulnerability has been patched in Waitress 2.1.1. A workaround is available. When deploying a proxy in front of waitress, turning on any and all functionality to make sure that the request matches the RFC7230 standard. Certain proxy servers may not have this functionality though and users are encouraged to upgrade to the latest version of waitress instead.","ecosystems":["PyPI","Red Hat:openstack:13::el7","Red Hat:openstack:16.1::el8","Red Hat:openstack:16.2::el8","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Package Hub 15 SP3","SUSE:Linux Enterprise Module for Package Hub 15 SP4","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"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 waitress","id":"CVE-2022-24761","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"other","year":"2022"},"n_packages":39,"n_references":5,"next":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in sysend.js","id":"CVE-2022-24762"},"packages":[{"ecosystem":"PyPI","fixed":["2.1.1"],"introduced":["0"],"last_affected":[],"package":"waitress","purl":null,"source":"GHSA-4f7p-27jc-3c36"},{"ecosystem":"PyPI","fixed":["2.1.1"],"introduced":["0"],"last_affected":[],"package":"waitress","purl":"pkg:pypi/waitress","source":"GHSA-4f7p-27jc-3c36"},{"ecosystem":"PyPI","fixed":["2.1.1"],"introduced":["0"],"last_affected":[],"package":"waitress","purl":"pkg:pypi/waitress","source":"PYSEC-2022-169"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:1.4.4-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/redhat/python-waitress","source":"RHSA-2022:1264"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:1.4.4-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"python2-waitress","purl":"pkg:rpm/redhat/python2-waitress","source":"RHSA-2022:1264"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["0:2.0.0-1.el8ost"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/redhat/python-waitress","source":"RHSA-2022:1254"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["0:2.0.0-1.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-waitress","purl":"pkg:rpm/redhat/python3-waitress","source":"RHSA-2022:1254"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["0:2.0.0-1.el8ost"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/redhat/python-waitress","source":"RHSA-2022:1253"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["0:2.0.0-1.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-waitress","purl":"pkg:rpm/redhat/python3-waitress","source":"RHSA-2022:1253"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["1.4.3-3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2022:3635-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP3","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP3","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP4","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Manager Proxy 4.1","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Manager%20Proxy%204.1","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.1","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:Manager Server 4.1","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Manager%20Server%204.1","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["1.4.3-3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2022:3635-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["1.4.3-3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2022:3583-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["1.4.3-3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2022:3635-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["1.4.3-3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2022:3583-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/opensuse/python-waitress\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:3731-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.4.3-150000.3.6.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/opensuse/python-waitress\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:3731-1"}],"prev":{"headline":"Command Injection in Parse server","id":"CVE-2022-24760"},"products":["waitress"],"published":"2022-03-17","related":[{"cvss_score":9.1,"headline":"Waitress has request processing race condition in HTTP pipelining with invalid first request","id":"CVE-2024-49768","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":7.5,"headline":"Waitress has a denial of service leading to high CPU usage/resource exhaustion","id":"CVE-2024-49769","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":7.1,"headline":"HTTP Request Smuggling: Content-Length Sent Twice in Waitress","id":"CVE-2019-16792","kev_date_added":null,"published":"2020-01-22"},{"cvss_score":7.1,"headline":"HTTP Request Smuggling in Waitress: Invalid whitespace characters in headers","id":"CVE-2019-16789","kev_date_added":null,"published":"2019-12-26"},{"cvss_score":7.1,"headline":"HTTP Request Smuggling: LF vs CRLF handling in Waitress","id":"CVE-2019-16785","kev_date_added":null,"published":"2019-12-20"},{"cvss_score":7.1,"headline":"HTTP Request Smuggling: Invalid Transfer-Encoding in Waitress","id":"CVE-2019-16786","kev_date_added":null,"published":"2019-12-20"}],"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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["Pylons"]},"summary":"HTTP request smuggling in Waitress allows attackers to bypass proxy security controls and potentially access sensitive data when deployed behind a non-strict proxy.","url":"https://insights.sbomify.com/CVE-2022-24761/"}