CVE-2024-49768

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49768
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49768.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-49768
Aliases
Downstream
Related
Published
2024-10-29T14:32:25Z
Modified
2025-10-15T15:00:11.540847Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Waitress has request processing race condition in HTTP pipelining with invalid first request
Details

Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote client may send a request that is exactly recvbytes (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 channelrequest_lookahead, this is set to 0 by default disabling this feature.

References

Affected packages

Git / github.com/Pylons/waitress

Affected ranges

Type
GIT
Repo
https://github.com/Pylons/waitress
Events

Affected versions

v2.*

v2.0.0
v2.1.0
v2.1.0b0
v2.1.1
v2.1.2

v3.*

v3.0.0

Git / github.com/Pylons/waitress

Affected ranges

Type
GIT
Repo
https://github.com/Pylons/waitress
Events

Affected versions

v2.*

v2.0.0
v2.1.0
v2.1.0b0
v2.1.1
v2.1.2

v3.*

v3.0.0