REDHAT-BUG-2322460: Race Condition
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 channelrequestlookahead, this is set to 0 by default disabling this feature.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2322460?
The severity of REDHAT-BUG-2322460 is classified as moderate.
How do I fix REDHAT-BUG-2322460?
To fix REDHAT-BUG-2322460, update the Waitress server to version 3.0.1 or later.
What type of vulnerability is REDHAT-BUG-2322460?
REDHAT-BUG-2322460 is a vulnerability related to HTTP request handling in Waitress.
Which versions of Waitress are affected by REDHAT-BUG-2322460?
Versions of Waitress prior to 3.0.1 are affected by REDHAT-BUG-2322460.
Can REDHAT-BUG-2322460 be exploited remotely?
Yes, REDHAT-BUG-2322460 can be exploited remotely through crafted HTTP requests.