Skip to content
OpenAdvisories
High · 7.5 CVE-2024-49769 EUVD-2024-0188GHSA-3f84-rpwh-47g6PYSEC-2024-211

Waitress has a denial of service leading to high CPU usage/resource exhaustion

Published Oct 29, 2024 · Updated Nov 17, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Pylons waitress < 3.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 waitress 3.0.1-1 —
Debian 13 waitress 3.0.1-1 —
Debian 12 waitress 2.1.2-2+deb12u1 —
Debian 11 waitress 1.4.4-1.1+deb11u2 DLA-3955-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS waitress 1.4.4-1.1ubuntu1.1 USN-7115-1
Ubuntu 20.04 LTS waitress 1.4.1-1ubuntu0.2 USN-7115-1
Ubuntu 18.04 LTS waitress No fix yet —
Ubuntu 16.04 LTS waitress No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS waitress 2.1.2-2ubuntu0.1~esm1 USN-7115-1
ReleasePackageFixed inAdvisory
Red Hat Openshift Ironic 4 python-waitress +1 3.0.1-1.el9 RHSA-2024:10815, RHSA-2024:10535, RHSA-2024:10145
Red Hat OpenStack 17 python-waitress +1 2.0.0-4.el8ost RHSA-2025:1192, RHSA-2025:1191
Red Hat OpenStack 16 python-waitress +1 2.0.0-4.el8ost RHSA-2025:0201
ReleasePackageFixed inAdvisory
SLES 15 SP6 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SLES 15 SP5 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SLES 15 SP4 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1, SUSE-SU-2024:3876-1
SLES 15 SP4 python-waitress-doc 2.1.2-150400.12.7.1 SUSE-SU-2024:3876-1
SLES 15 SP3 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SLES 15 SP2 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 3 python-waitress +1 2.1.2-150400.12.7.1 SUSE-SU-2024:3876-1
SLES for SAP 15 SP4 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SLES for SAP 15 SP3 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SLES for SAP 15 SP2 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SLE HPC 15 SP4 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1, SUSE-SU-2024:3876-1
SLE HPC 15 SP4 python-waitress-doc 2.1.2-150400.12.7.1 SUSE-SU-2024:3876-1
SLE HPC 15 SP3 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SLE HPC 15 SP2 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SUSE Manager Server 4.3 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SUSE Manager Proxy 4.3 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
SUSE Enterprise Storage 7.1 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-waitress 3.0.1-1.1 openSUSE-SU-2026:12047-1, openSUSE-SU-2024:14445-1
openSUSE Leap 15.5 python-waitress 1.4.3-150000.3.9.1 SUSE-SU-2024:4107-1, SUSE-SU-2024:3876-1
openSUSE Leap 15.5 python-waitress-doc 2.1.2-150400.12.7.1 SUSE-SU-2024:3876-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-waitress 2.1.2-1.amzn2023.0.3 ALAS2023-2024-773

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-waitress 3.0.1-1 —
Azure Linux 2 (CBL-Mariner) python-waitress No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI waitress < 3.0.1 3.0.1 GHSA-3f84-rpwh-47g6

Advisories 17

References