CVE-2024-49768Agendaless Waitress
Medium 4.8 No auth needed
Follow: this CVE · Agendaless · Agendaless Waitress We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 3.1
- 4.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 40
- Auth required
- No
- Published
- Oct 29, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Waitress.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | waitress |
≥ 2.0.0 < 3.0.1 |
3.0.1 |
pip install "waitress>=3.0.1" |
| PyPI | waitress |
≥ 2.0.0 < 3.0.1 |
3.0.1 |
pip install "waitress>=3.0.1" |
Per OSV / GitHub Advisories (GHSA-9298-4cf8-g4wj, PYSEC-2024-210). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| agendaless | waitress | ≥ 2.0.0 < 3.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory