{"id":"CVE-2024-49769","aliases":["GHSA-3f84-rpwh-47g6","PYSEC-2024-211"],"url":"https://o3.security/vulnerability/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.","published":"2024-10-29T14:18:40.951Z","modified":"2026-08-12T03:51:39.128877637Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.01377,"percentile":0.70569,"asOf":"2026-09-15"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"waitress","fixedVersion":"3.0.1"}],"fix":{"url":"https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c","label":"Pylons/waitress@1ae4e89"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:39.128877637Z"}}