# CVE-2024-49769: Waitress has a denial of service leading to high CPU usage/resource exhaustion

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Published: 2024-10-29T14:18:40.951Z
- Modified: 2026-06-17T08:00:24.887Z
- Also known as: GHSA-3f84-rpwh-47g6, PYSEC-2024-211
- Weaknesses: CWE-772
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Pylons waitress: < 3.0.1; before 3.0.1
- waitress (PyPI): before 3.0.1; before 1ae4e894c9f76543bee06584001583fc6fa8c95c
- agendaless waitress: before 3.0.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6> (advisory, vendor-advisory, web)
- <https://github.com/Pylons/waitress/issues/418> (issue-tracking, report, web)
- <https://github.com/Pylons/waitress/pull/435> (fix, patch, web)
- <https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2024-49769](https://www.cve.org/CVERecord?id=CVE-2024-49769), CVE Terms of Use, modified 2024-11-17
- GitHub Advisory Database: [GHSA-3f84-rpwh-47g6](https://github.com/advisories/GHSA-3f84-rpwh-47g6), CC-BY-4.0, modified 2025-01-21
- NVD: [CVE-2024-49769](https://nvd.nist.gov/vuln/detail/CVE-2024-49769), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-211](https://osv.dev/vulnerability/PYSEC-2024-211), CC-BY-4.0, modified 2025-01-19

---

Page: https://cve.day/CVE-2024-49769 · Whole record: https://cve.day/CVE-2024-49769.json · Rebuilt by cve.day 2026-11-25T22:58:47.492Z
