Missing Release of Resource after Effective Lifetime in waitress
CVE-2024-49769
- waitress
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. This vulnerability affects waitress package versions prior to 3.0.1.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-772 - Missing Release Of Resource After Effective Lifetime
'Missing release of resource after effective lifetime' is a weakness that occurs when software doesn't sufficiently release a resource (e.g. memory, CPU, disk space, etc.) after it is used. If not addressed, attackers can launch a denial of service attack (by allocating a resource and not releasing it).
References
Advisory Timeline
- Published