CVE-2024-49769
HIGH 7.5CVSS 3.1Waitress vulnerable to DoS leading to high CPU usage/resource exhaustion
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
- 29 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-772
- Also known as
- GHSA-3f84-rpwh-47g6PYSEC-2024-211
- Sources
- NVDJSONOSV GHSA-3f84-rpwh-47g6JSONOSV PYSEC-2024-211JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | agendaless | waitresscpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:* |
< 3.0.1 | 3.0.1 |
| OSV | PyPI | waitress | < 3.0.1 | 3.0.1 |
References
- https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c · Patch, WEB, FIX
- https://github.com/Pylons/waitress/issues/418 · Issue Tracking, WEB, REPORT
- https://github.com/Pylons/waitress/pull/435 · Patch, WEB, FIX
- https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6 · Vendor Advisory, WEB, ADVISORY
- https://lists.debian.org/debian-lts-announce/2024/11/msg00012.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-49769 · ADVISORY
- https://github.com/Pylons/waitress · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2024-211.yaml · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Oct 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Oct 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Oct 2024)