CVE-2024-49769
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 7.5
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS probability
- 1.38%
- CWE
- CWE-772
- Published
- 2024-10-29
- Last modified
- 2026-03-13
Affected products
- Pylons waitress
Weakness type
Related vulnerabilities
- CVE-2026-72931 — Windows Secure Socket Tunneling Protocol (SSTP) Denial of Service Vulnerability
- CVE-2026-18149 — undici vulnerable to Denial of Service via orphaned RetryHandler response body
- CVE-2026-69664 — httpd parks a request worker indefinitely on a malformed chunk size sent after the headers
- CVE-2026-71380 — httpd applies no timeout while receiving a request body, parking a worker on a stalled client
- CVE-2026-77384 — libp2p: Circuit relay v2 server reservation refresh leaks abort listeners and allows remote resource exhaustion
- CVE-2026-59654 — Apache CloudStack: DoS caused by database connections leak
- CVE-2026-73508 — Netty: Memory Leak in DNS Record Decoder via Malformed Domain Names
- CVE-2026-73215 — The coturn server can end in a state where it does not accept more requests with "even-port" enabled.