{"answers":{"affected":"3 open source packages ship an affected version, including waitress. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-49769 in the wild and no public exploit code.","fix":"Upgrade waitress to 3.0.1 or later.","what":"CVE-2024-49769 is a high-severity denial of service vulnerability in Pylons waitress, published on 29 Oct 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-49769 and fix it if it is affected.\n\nWhat it is: CVE-2024-49769 is a high-severity denial of service vulnerability in Pylons waitress, published on 29 Oct 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-49769 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- waitress (PyPI): affected all versions; fixed in 3.0.1\n- waitress (PyPI): affected all versions; fixed in 3.0.1\n- waitress (PyPI): affected all versions; fixed in 3.0.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-2024-49769/ (Markdown: https://insights.sbomify.com/CVE-2024-49769/index.md)","id":"CVE-2024-49769","markdown":"https://insights.sbomify.com/CVE-2024-49769/index.md","name":"CVE-2024-49769","record":{"aliases":["AZL-51822","AZL-51831","CLSA-2025-1750810248","DEBIAN-CVE-2024-49769","DLA-3955-1","ECHO-283f-0619-628b","GHSA-3f84-rpwh-47g6","OESA-2024-2374","OESA-2024-2375","OESA-2024-2376","OESA-2024-2377","OESA-2025-1436","PYSEC-2024-211","SUSE-SU-2024:4107-1","UBUNTU-CVE-2024-49769","openSUSE-SU-2024:14445-1","openSUSE-SU-2026:12047-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python WSGI server","requires_auth":"none","summary":"A remote attacker can cause high CPU usage and resource exhaustion in Waitress by closing connections prematurely, leading to a busy-loop.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"waitress","vendor":"agendaless"}],"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:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-772","name":"Missing Release of Resource after Effective Lifetime"}],"description":"Waitress is a Web Server Gateway Interface server for Python 2 and 3. When a remote client closes the connection before waitress has had the opportunity to call getpeername() waitress won't correctly clean up the connection leading to the main thread attempting to write to a socket that no longer exists, but not removing it from the list of sockets to attempt to process. This leads to a busy-loop calling the write function. A remote attacker could run waitress out of available sockets with very little resources required. Waitress 3.0.1 contains fixes that remove the race condition.","ecosystems":["PyPI","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Package Hub 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"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":"Waitress has a denial of service leading to high CPU usage/resource exhaustion","id":"CVE-2024-49769","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":23,"n_references":4,"next":{"headline":"oak's path traversal allows transfer of hidden files within the served root directory","id":"CVE-2024-49770"},"packages":[{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"waitress","purl":null,"source":"GHSA-3f84-rpwh-47g6"},{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"waitress","purl":"pkg:pypi/waitress","source":"GHSA-3f84-rpwh-47g6"},{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"waitress","purl":"pkg:pypi/waitress","source":"PYSEC-2024-211"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.4.3-150000.3.9.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-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.4.3-150000.3.9.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-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.4.3-150000.3.9.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-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Manager Proxy 4.3","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Manager%20Proxy%204.3","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/suse/python-waitress\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.4.3-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/opensuse/python-waitress\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:4107-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.0.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/opensuse/python-waitress\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14445-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.0.2-1.7"],"introduced":["0"],"last_affected":[],"package":"python-waitress","purl":"pkg:rpm/opensuse/python-waitress\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12047-1"}],"prev":{"headline":"Waitress has request processing race condition in HTTP pipelining with invalid first request","id":"CVE-2024-49768"},"products":["waitress"],"published":"2024-10-29","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":"HTTP Request Smuggling in waitress","id":"CVE-2022-24761","kev_date_added":null,"published":"2022-03-17"},{"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":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"2024-11-17","vendors":["Pylons"]},"summary":"A remote attacker can cause high CPU usage and resource exhaustion in Waitress by closing connections prematurely, leading to a busy-loop.","url":"https://insights.sbomify.com/CVE-2024-49769/"}