CVE-2024-49768: agendaless waitress
Vulnerability summary
CVE-2024-49768 is a critical (CVSS 9.1) vulnerability in agendaless waitress. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 40.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 12 · Related 2Timeline
- 29-10-2024PublishedVulnerability first disclosed.
- 29-10-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · PypiEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
0.00 pp
From 0.49% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-367Time-of-check Time-of-use (TOCTOU) Race ConditionThe product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
- CWE-444Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.
Affected systems
Agendaless1 product
- waitress≥ 2.0.0, < 3.0.1
Debian1 product
- waitress< 2.1.2-2+deb12u1 | < 3.0.1-1
Pylons1 product
- waitress≥ 2.0.0, < 3.0.1
PyPI1 product
- waitress< e4359018537af376cf24bd13616d861e2fb76f65 | ≥ 2.0.0, < 3.0.1
Ubuntu1 product
- waitress< 2.1.2-2ubuntu0.1~esm1
5 vendors · 5 products
References
9 links- github.com/Pylons/waitress/security/advisories/GHSA-9298-4cf8-g4wjX Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
- github.com/Pylons/waitress/commit/e4359018537af376cf24bd13616d861e2fb76f65X Refsource MISCWEBFIXREPORTPatch
- github.com/Pylons/waitressPACKAGE