CVE-2024-49768
MEDIUM 4.8CVSS 3.1Waitress has request processing race condition in HTTP pipelining with invalid first request
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.
- Published
- 29 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-367CWE-444
- Also known as
- GHSA-9298-4cf8-g4wjPYSEC-2024-210
- Sources
- NVDJSONOSV GHSA-9298-4cf8-g4wjJSONOSV PYSEC-2024-210JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | agendaless | waitresscpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:* |
>= 2.0.0, < 3.0.1 | 3.0.1 |
| OSV | PyPI | waitress | >= 2.0.0, < 3.0.1 | 3.0.1 |
References
- https://github.com/Pylons/waitress/commit/e4359018537af376cf24bd13616d861e2fb76f65 · Patch, WEB, FIX
- https://github.com/Pylons/waitress/security/advisories/GHSA-9298-4cf8-g4wj · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-49768 · ADVISORY
- https://github.com/Pylons/waitress · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2024-210.yaml · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Oct 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Oct 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Oct 2024)