{"id":"CVE-2024-49769","summary":"Waitress has a denial of service leading to high CPU usage/resource exhaustion","details":"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.","aliases":["GHSA-3f84-rpwh-47g6","PYSEC-2024-211"],"modified":"2026-05-28T03:52:38.635713690Z","published":"2024-10-29T14:18:40.951Z","related":["SUSE-SU-2024:3876-1","SUSE-SU-2024:4107-1","openSUSE-SU-2024:14445-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49769.json","cwe_ids":["CWE-772"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00012.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49769.json"},{"type":"ADVISORY","url":"https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49769"},{"type":"REPORT","url":"https://github.com/Pylons/waitress/issues/418"},{"type":"FIX","url":"https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c"},{"type":"FIX","url":"https://github.com/Pylons/waitress/pull/435"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pylons/waitress","events":[{"introduced":"0"},{"fixed":"ae949bb428e50cf04152db56460f31c1e6d3a2a9"}]}],"versions":["v3.0.0","v2.1.2","v2.1.1","v2.1.0","v2.1.0b0","v2.0.0","v2.0.0b1","v2.0.0b0","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.1","v1.3.0","v1.3.0b0","v1.2.1","v1.2.0","v1.2.0b3","v1.2.0b2","v1.2.0b1","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v1.0a2","v1.0a1","v0.9.0","v0.9.0b1","0.9.0b0","0.8.11b0","0.8.10","0.8.9","0.8.8","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8","0.7","0.6.1","0.6","0.5","0.4","0.3","0.2","0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49769.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}