waitress
Affected
- introduced
0, fixed3.0.1(ecosystem)
Fixed versions
3.0.1
Fix
- Fixed version
3.0.1pip install --upgrade waitress==3.0.1
Advisory
Also known as: CVE-2024-49769, GHSA-3f84-rpwh-47g6
The record has no summary.
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.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0, fixed 3.0.1 (ecosystem)3.0.1
3.0.1pip install --upgrade waitress==3.0.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0