In breve
- CVE-2024-49769 è una vulnerabilità ALTO (CVSS 7.5) che riguarda waitress, waitress (agendaless).
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 1.4%, superiore al 72.1% delle vulnerabilità.
- Correzione: aggiornare a 3.0.1 o successiva.
| Package | Affected versions | Patched versions |
|---|
| waitress PyPI | < 3.0.1
| 3.0.1
|
| waitress | < 3.0.1
| 3.0.1
|
Description
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
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free