Waitress has request processing race condition in HTTP pipelining with invalid first request
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 8 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Pylons | waitress | 2.0.0 to before 3.0.1 | 3.0.1 | Patch available | CNA |
| — | waitress (PyPI) | 2.0.0 to before 3.0.1 | 3.0.1 | Patch available | GHSA-9298-4cf8-g4wj |
- waitress VendorPylons Affected 2.0.0 to before 3.0.1 Fixed in 3.0.1 Patch available CNA
- waitress (PyPI) Vendor— Affected 2.0.0 to before 3.0.1 Fixed in 3.0.1 Patch available GHSA-9298-4cf8-g4wj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:* | 2.0.0 to before 3.0.1 | Vulnerable | Agendaless |
- cpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:* Versions 2.0.0 to before 3.0.1 Vulnerable ·Agendaless
Remediation
- Fix · CNA waitress (Pylons) Fixed in 3.0.1
- Fix · GHSA-9298-4cf8-g4wj waitress (PyPI) Fixed in 3.0.1 Advisory →
Red Hat 9 advisories
- RHSA-2025:1192 Released 2025-02-10 · Red Hat rating ImportantRed Hat OpenStack Platform 17.1 (python-waitress) security update
- Red Hat OpenStack Platform 17.1 python-waitress-2.0.0-4.el8ost, python3-waitress-2.0.0-4.el8ost
- RHSA-2025:1191 Released 2025-02-10 · Red Hat rating ImportantRed Hat OpenStack Platform 17.1 (python-waitress) security update
- Red Hat OpenStack Platform 17.1 python-waitress-2.0.0-4.el9ost, python3-waitress-2.0.0-4.el9ost
- RHSA-2025:0201 Released 2025-01-09 · Red Hat rating ImportantRed Hat OpenStack Platform 16.2 (python-waitress) security update
- Red Hat OpenStack Platform 16.2 python-waitress-2.0.0-4.el8ost, python3-waitress-2.0.0-4.el8ost
Show 6 more Red Hat advisories
- RHSA-2024:10815 Released 2024-12-12 · Red Hat rating ImportantOpenShift Container Platform 4.13.54 packages and security update
- Ironic content for Red Hat OpenShift Container Platform 4.13 python-waitress-3.0.1-1.el9, python3-waitress-3.0.1-1.el9
- RHSA-2024:10535 Released 2024-12-05 · Red Hat rating ImportantOpenShift Container Platform 4.12.70 security update
- Ironic content for Red Hat OpenShift Container Platform 4.12 python-waitress-3.0.1-1.el9, python3-waitress-3.0.1-1.el9
- RHSA-2024:10145 Released 2024-11-26 · Red Hat rating ImportantOpenShift Container Platform 4.15.39 packages and security update
- Ironic content for Red Hat OpenShift Container Platform 4.15 python-waitress-3.0.1-1.el9, python3-waitress-3.0.1-1.el9
- RHSA-2024:9623 Released 2024-11-20 · Red Hat rating ImportantOpenShift Container Platform 4.14.41 packages and security update
- Ironic content for Red Hat OpenShift Container Platform 4.14 python-waitress-3.0.1-1.el9, python3-waitress-3.0.1-1.el9
- RHSA-2024:9618 Released 2024-11-20 · Red Hat rating ImportantOpenShift Container Platform 4.16.23 packages and security update
- Ironic content for Red Hat OpenShift Container Platform 4.16 python-waitress-3.0.1-1.el9, python3-waitress-3.0.1-1.el9
- RHSA-2024:9613 Released 2024-11-19 · Red Hat rating ImportantOpenShift Container Platform 4.17.5 security update
- Ironic content for Red Hat OpenShift Container Platform 4.17 python-waitress-3.0.1-1.el9, python3-waitress-3.0.1-1.el9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 4 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 5 | Affected | No fix yet |
| Red Hat Openshift Container Storage 4 | Affected | No fix yet |
| Ironic content for Red Hat OpenShift Container Platform 4.12 | Fixed | RHSA-2024:10535 |
| Ironic content for Red Hat OpenShift Container Platform 4.13 | Fixed | RHSA-2024:10815 |
| Ironic content for Red Hat OpenShift Container Platform 4.14 | Fixed | RHSA-2024:9623 |
| Ironic content for Red Hat OpenShift Container Platform 4.15 | Fixed | RHSA-2024:10145 |
| Ironic content for Red Hat OpenShift Container Platform 4.16 | Fixed | RHSA-2024:9618 |
| Ironic content for Red Hat OpenShift Container Platform 4.17 | Fixed | RHSA-2024:9613 |
| Red Hat OpenStack Platform 16.2 | Fixed | RHSA-2025:0201 |
| Red Hat OpenStack Platform 17.1 | Fixed | RHSA-2025:1191, RHSA-2025:1192 |
Not affected: 5 products
- Red Hat OpenShift Container Platform 4.12
- Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.14
- Red Hat OpenShift Container Platform 4.16
- Red Hat OpenShift Container Platform 4.17
Timeline
- 2026-10-02 Threatist record created from CVE-2024-49768
- 2026-10-03 Alias added: GHSA-9298-4cf8-g4wj
References
Advisory 2
More Pylons vulnerabilities
- TI-2022-13060 Uncaught Exception (due to a data race) leads to process termination in Waitress CVSS 3.1MEDIUM 6.5
- TI-2026-39576 WebOb: Open redirect in Location header normalization via leading C0 control / space characters CVSS 3.1MEDIUM 6.1
- TI-2024-33236 Waitress has a denial of service leading to high CPU usage/resource exhaustion CVSS 3.1HIGH 7.5
- TI-2022-08575 HTTP Request Smuggling in waitress CVSS 3.1HIGH 7.5
- TI-2019-12566 HTTP Request Smuggling in Waitress: Invalid whitespace characters in headers CVSS 3.1HIGH 8.2
- TI-2019-12564 HTTP Request Smuggling: LF vs CRLF handling in Waitress CVSS 3.1HIGH 7.5
Sources
- CVE-2024-49768 · CVE Program
- CVE-2024-49768 · NVD
- FIRST EPSS
- GHSA-9298-4cf8-g4wj · GitHub Advisory Database · CC BY 4.0
- CVE-2024-49768 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences