{"cve":"CVE-2024-49768","nvd":{"published":"2024-10-29T15:15:11.440","modified":"2026-06-17T08:00:24.767","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8},"cwes":["CWE-367","CWE-444"],"references":["https://github.com/Pylons/waitress/commit/e4359018537af376cf24bd13616d861e2fb76f65","https://github.com/Pylons/waitress/security/advisories/GHSA-9298-4cf8-g4wj"],"products":["agendaless:waitress"],"source":"nvd","synced_at":"2026-10-19T21:56:33.105311382+00:00"},"epss":{"cve":"CVE-2024-49768","score":0.00486,"percentile":0.41822,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-9298-4cf8-g4wj","url":"https://osv.dev/vulnerability/GHSA-9298-4cf8-g4wj","summary":"Waitress has request processing race condition in HTTP pipelining with invalid first request","modified":"2025-01-21T18:22:46.807383Z","packages":[{"ecosystem":"PyPI","name":"waitress","purl":"pkg:pypi/waitress","ranges":[">=2.0.0 <3.0.1"],"fixed":["3.0.1"]}]},{"id":"PYSEC-2024-210","url":"https://osv.dev/vulnerability/PYSEC-2024-210","summary":"","modified":"2025-01-19T19:56:46.402896Z","packages":[{"ecosystem":"PyPI","name":"waitress","purl":"pkg:pypi/waitress","ranges":[">=2.0.0 <3.0.1"],"fixed":["3.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}