Waitress vulnerable to DoS leading to high CPU usage/resource exhaustion
### Impact 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. ### Patches Waitress 3.0.1 contains fixes that remove the race condition. ### Workarounds No work-around. ### References - https://github.com/Pylons/waitress/issues/418 - https://github.com/Pylons/waitress/pull/435
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-49769US | high7.5 | — | ||
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() waitr… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/Pylons/waitressPACKAGE
- https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95cWEB
- https://github.com/Pylons/waitress/issues/418WEB
- https://github.com/Pylons/waitress/pull/435WEB
- https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2024-211.yamlWEB
- https://lists.debian.org/debian-lts-announce/2024/11/msg00012.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-49769ADVISORY
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan