CVE-2024-49769
Last modified
CVE-2024-49769 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.38% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Agendaless | Waitress | < 3.0.1 |
References
- https://github.com/Pylons/waitress/issues/418Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-49769?
How severe is CVE-2024-49769?
How do I fix CVE-2024-49769?
Are you affected by CVE-2024-49769?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
