Name | CVE-2024-49768 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1086467 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
waitress (PTS) | jessie, jessie (lts) | 0.8.9-2+deb8u1 | vulnerable |
stretch (security), stretch (lts), stretch | 1.0.1-1+deb9u1 | vulnerable | |
buster (security), buster, buster (lts) | 1.2.0~b2-2+deb10u1 | vulnerable | |
bullseye (security), bullseye | 1.4.4-1.1+deb11u1 | vulnerable | |
bookworm | 2.1.2-2 | vulnerable | |
sid, trixie | 3.0.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
waitress | source | jessie | (unfixed) | end-of-life | ||
waitress | source | (unstable) | 3.0.1-1 | 1086467 |
https://github.com/Pylons/waitress/security/advisories/GHSA-9298-4cf8-g4wj
Fixed by: https://github.com/Pylons/waitress/commit/6943dcf556610ece2ff3cddb39e59a05ef110661 (v3.0.1)
Test: https://github.com/Pylons/waitress/commit/7e7f11e61d358ab1cb853fcadf2b46b1f00f5993 (v3.0.1)
Fixed by: https://github.com/Pylons/waitress/commit/f4ba1c260cf17156b582c6252496213ddc96b591 (v3.0.1)
Documentation update: https://github.com/Pylons/waitress/commit/810a435f9e9e293bd3446a5ce2df86f59c4e7b1b (v3.0.1)