Skip to content

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

HighCVSS 7.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 8 fixed.

PackageAffectedFixed inStatus
agendaless waitress < 3.0.1 3.0.1 Fixed
debian/waitress(Debian 12) < 2.1.2-2+deb12u1; = 2.1.2-2 2.1.2-2+deb12u1 Fixed
debian/waitress(Debian 13) < 3.0.1-1 3.0.1-1 Fixed
debian/waitress(Debian 14) < 3.0.1-1 3.0.1-1 Fixed
Pylons waitress < 3.0.1; = < 3.0.1 3.0.1 Fixed
pypi waitress(PyPI) < 3.0.1; = 0.1; = 0.2; = 0.3 +47 more 3.0.1 Fixed
ubuntu/waitress(Ubuntu 22.04) < 1.4.4-1.1ubuntu1.1 1.4.4-1.1ubuntu1.1 Fixed
ubuntu/waitress(Ubuntu 24.04) < 2.1.2-2ubuntu0.1~esm1 2.1.2-2ubuntu0.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
pypi waitress(PyPI) < 3.0.1 3.0.1
pypi waitress(PyPI) = 0.1 No fix listed
pypi waitress(PyPI) = 0.2 No fix listed
pypi waitress(PyPI) = 0.3 No fix listed
pypi waitress(PyPI) = 0.4 No fix listed
pypi waitress(PyPI) = 0.5 No fix listed
pypi waitress(PyPI) = 0.6 No fix listed
pypi waitress(PyPI) = 0.6.1 No fix listed
pypi waitress(PyPI) = 0.7 No fix listed
pypi waitress(PyPI) = 0.8 No fix listed
pypi waitress(PyPI) = 0.8.1 No fix listed
pypi waitress(PyPI) = 0.8.10 No fix listed
pypi waitress(PyPI) = 0.8.11b0 No fix listed
pypi waitress(PyPI) = 0.8.2 No fix listed
pypi waitress(PyPI) = 0.8.3 No fix listed
pypi waitress(PyPI) = 0.8.4 No fix listed
pypi waitress(PyPI) = 0.8.5 No fix listed
pypi waitress(PyPI) = 0.8.6 No fix listed
pypi waitress(PyPI) = 0.8.7 No fix listed
pypi waitress(PyPI) = 0.8.8 No fix listed
pypi waitress(PyPI) = 0.8.9 No fix listed
pypi waitress(PyPI) = 0.9.0 No fix listed
pypi waitress(PyPI) = 0.9.0b0 No fix listed
pypi waitress(PyPI) = 0.9.0b1 No fix listed
pypi waitress(PyPI) = 1.0.0 No fix listed
Show 35 more
ProductAffected versionsFixed in
pypi waitress(PyPI) = 1.0.1 No fix listed
pypi waitress(PyPI) = 1.0.2 No fix listed
pypi waitress(PyPI) = 1.0a1 No fix listed
pypi waitress(PyPI) = 1.0a2 No fix listed
pypi waitress(PyPI) = 1.1.0 No fix listed
pypi waitress(PyPI) = 1.2.0 No fix listed
pypi waitress(PyPI) = 1.2.0b1 No fix listed
pypi waitress(PyPI) = 1.2.0b2 No fix listed
pypi waitress(PyPI) = 1.2.0b3 No fix listed
pypi waitress(PyPI) = 1.2.1 No fix listed
pypi waitress(PyPI) = 1.3.0 No fix listed
pypi waitress(PyPI) = 1.3.0b0 No fix listed
pypi waitress(PyPI) = 1.3.1 No fix listed
pypi waitress(PyPI) = 1.4.0 No fix listed
pypi waitress(PyPI) = 1.4.1 No fix listed
pypi waitress(PyPI) = 1.4.2 No fix listed
pypi waitress(PyPI) = 1.4.3 No fix listed
pypi waitress(PyPI) = 1.4.4 No fix listed
pypi waitress(PyPI) = 2.0.0 No fix listed
pypi waitress(PyPI) = 2.0.0b0 No fix listed
pypi waitress(PyPI) = 2.0.0b1 No fix listed
pypi waitress(PyPI) = 2.1.0 No fix listed
pypi waitress(PyPI) = 2.1.0b0 No fix listed
pypi waitress(PyPI) = 2.1.1 No fix listed
pypi waitress(PyPI) = 2.1.2 No fix listed
pypi waitress(PyPI) = 3.0.0 No fix listed
debian/waitress(Debian:12) < 2.1.2-2+deb12u1 2.1.2-2+deb12u1
debian/waitress(Debian:12) = 2.1.2-2 No fix listed
debian/waitress(Debian:13) < 3.0.1-1 3.0.1-1
debian/waitress(Debian:14) < 3.0.1-1 3.0.1-1
ubuntu/waitress(Ubuntu:22.04) < 1.4.4-1.1ubuntu1.1 1.4.4-1.1ubuntu1.1
Pylons waitress = < 3.0.1 No fix listed
Pylons waitress < 3.0.1 3.0.1
ubuntu/waitress(Ubuntu:24.04) < 2.1.2-2ubuntu0.1~esm1 2.1.2-2ubuntu0.1~esm1
agendaless waitress < 3.0.1 3.0.1

References