cve.bz

CVE-2024-49768 agendaless waitress: HTTP Request Smuggling

4.8 mediumEPSS 0.5%Fix available

Medium (4.8) in agendaless waitress. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in waitress 3.0.1.

On this page
Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote client may send a request that is exactly recv_bytes (defaults to 8192) long, followed by a secondary request using HTTP pipelining. When request lookahead is disabled (default) we won't read any more requests, and when the first request fails due to a parsing error, we simply close the connection. However when request lookahead is enabled, it is possible to process and receive the first request, start sending the error message back to the client while we read the next request and queue it. This will allow the secondary request to be serviced by the worker thread while the connection should be closed. Waitress 3.0.1 fixes the race condition. As a workaround, disable channel_request_lookahead, this is set to 0 by default disabling this feature.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-10-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-49768 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-49768?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-49768?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-49768 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
agendaless:waitressfrom 2.0.0 before 3.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9298-4cf8-g4wjPyPIwaitress>=2.0.0 <3.0.13.0.1
PYSEC-2024-210PyPIwaitress>=2.0.0 <3.0.13.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12waitress2.1.2-2+deb12u1DEBIAN-CVE-2024-49768
Debian13, 14waitress3.0.1-1DEBIAN-CVE-2024-49768
Ubuntu20.04:LTSwaitress1.4.1-1ubuntu0.2USN-7115-1
Ubuntu22.04:LTSwaitress1.4.4-1.1ubuntu1.1USN-7115-1
UbuntuPro:24.04:LTSwaitress2.1.2-2ubuntu0.1~esm1UBUNTU-CVE-2024-49768 USN-7115-1
Red Hatopenshift_ironic:4.12::el9python-waitress, python3-waitress0:3.0.1-1.el9RHSA-2024:10535
Red Hatopenshift_ironic:4.13::el9python-waitress, python3-waitress0:3.0.1-1.el9RHSA-2024:10815
Red Hatopenshift_ironic:4.14::el9python-waitress, python3-waitress0:3.0.1-1.el9RHSA-2024:9623
Red Hatopenshift_ironic:4.15::el9python-waitress, python3-waitress0:3.0.1-1.el9RHSA-2024:10145
Red Hatopenshift_ironic:4.16::el9python-waitress, python3-waitress0:3.0.1-1.el9RHSA-2024:9618
Red Hatopenshift_ironic:4.17::el9python-waitress, python3-waitress0:3.0.1-1.el9RHSA-2024:9613
Red Hatopenstack:16.2::el8python-waitress, python3-waitress0:2.0.0-4.el8ostRHSA-2025:0201
Red Hatopenstack:17.1::el8python-waitress, python3-waitress0:2.0.0-4.el8ostRHSA-2025:1192
Red Hatopenstack:17.1::el9python-waitress, python3-waitress0:2.0.0-4.el9ostRHSA-2025:1191
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Python 3 15 SP5 and 2 morepython-waitress, python-waitress-doc2.1.2-150400.12.7.1SUSE-SU-2024:3876-1
openSUSELeap 15.5python-waitress, python-waitress-doc2.1.2-150400.12.7.1SUSE-SU-2024:3876-1
Azure Linux3python-waitressno fix listedAZL-57396

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Disable `channel_request_lookahead`. This feature is disabled (set to 0) by default.

ProductPackageStateAdvisory
Ironic content for Red Hat OpenShift Container Platform 4.12python-waitress-0:3.0.1-1.el9Fixed 2024-12-05RHSA-2024:10535
Ironic content for Red Hat OpenShift Container Platform 4.13python-waitress-0:3.0.1-1.el9Fixed 2024-12-12RHSA-2024:10815
Red Hat OpenShift Container Platform 4.14python-waitress-0:3.0.1-1.el9Fixed 2024-11-20RHSA-2024:9623
Red Hat OpenShift Container Platform 4.15python-waitress-0:3.0.1-1.el9Fixed 2024-11-26RHSA-2024:10145
Red Hat OpenShift Container Platform 4.16python-waitress-0:3.0.1-1.el9Fixed 2024-11-20RHSA-2024:9618
Red Hat OpenShift Container Platform 4.17python-waitress-0:3.0.1-1.el9Fixed 2024-11-19RHSA-2024:9613
Red Hat OpenStack Platform 16.2python-waitress-0:2.0.0-4.el8ostFixed 2025-01-09RHSA-2025:0201
Red Hat OpenStack Platform 17.1 for RHEL 8python-waitress-0:2.0.0-4.el8ostFixed 2025-02-10RHSA-2025:1192
Red Hat OpenStack Platform 17.1 for RHEL 9python-waitress-0:2.0.0-4.el9ostFixed 2025-02-10RHSA-2025:1191
Red Hat Ceph Storage 4python-waitressOut of support scope
Red Hat Ceph Storage 5python-waitressAffected
Red Hat Openshift Container Storage 4python-waitressAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-49768.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON