CVE-2024-49768
published critical CVSS 3.1 · 9.1Waitress has request processing race condition in HTTP pipelining with invalid first request
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Pylons | — | waitress>= 2.0.0, < 3.0.1 | Affected | Not stated | GitHub_M |
| pylons | — | waitress2.0.0 to < 3.0.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-773 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | noble | waitress | Advisory build | 2.1.2-2ubuntu0.1~esm1 | USN-7115-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-waitressnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| Amazon Linux | AL2023 | python-waitressnoarch | Listed in advisory | Not stated | ALAS2023-2024-773 |
| SUSE / openSUSE | SLE-15-SP4 | python311-waitress-docnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-waitressnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | python311-waitress-docnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-waitressnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-waitress-docnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | SLE-3-SP5 | python311-waitressnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | SLE-3-SP5 | python311-waitress-docnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | SLE-3-SP6 | python311-waitressnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | SLE-3-SP6 | python311-waitress-docnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python311-waitressnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python311-waitress-docnoarch | Advisory build | 2.1.2-150400.12.7.1 | SUSE-SU-2024:3876-1 |
| Ubuntu | noble | python3-waitress | Advisory build | 2.1.2-2ubuntu0.1~esm1 | USN-7115-1 |
| Amazon Linux | AL2023 | python-waitresssrc | Listed in advisory | Not stated | ALAS2023-2024-773 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Pylons | waitress | >= 2.0.0, < 3.0.1 (affected) | GitHub_M · cna |
| pylons | waitress | 2.0.0 to < 3.0.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
- CWE-444 CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
References
2Provider assertions
2GitHub_M · cna
Waitress has request processing race condition in HTTP pipelining with invalid first request
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2f3073fc75a5632da39e61d63cba74236f5a96424485f63420398dc03c39f86b
- Ingested
- 23 Sep 2026, 08:29:06 UTC
- Source record
- Official CVE record