CVE-2024-49768
published 2024-10-29CVE-2024-49768: 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…
PriorityP426medium4.8CVSS 3.1
AVNACHPRNUINSUCLILAN
EPSS
0.50%
39.7th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| agendaless | waitress | >= 2.0.0 < 3.0.1 | 3.0.1 |
| debian | waitress | < waitress 2.1.2-2+deb12u1 (bookworm) | waitress 2.1.2-2+deb12u1 (bookworm) |
| pylons | waitress | — | — |
| pylons | waitress | >= 0 < 2.1.2-2+deb12u1 | 2.1.2-2+deb12u1 |
| pylons | waitress | >= 0 < 3.0.1-1 | 3.0.1-1 |
| pylons | waitress | >= 0 < 3.0.1-1 | 3.0.1-1 |
| pylons | waitress | >= 0 < 1.4.1-1ubuntu0.2 | 1.4.1-1ubuntu0.2 |
| pylons | waitress | >= 0 < 1.4.4-1.1ubuntu1.1 | 1.4.4-1.1ubuntu1.1 |
| pylons | waitress | >= 0 < 2.1.2-2ubuntu0.1~esm1 | 2.1.2-2ubuntu0.1~esm1 |
| pylons | waitress | >= 2.0.0 < 3.0.1 | 3.0.1 |
CVSS provenance
nvdv3.14.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
osv4.8MEDIUM
vendor_debian9.1CRITICAL
vendor_redhat9.1CRITICAL
vendor_ubuntu9.1CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Waitress vulnerabilities
osv·2024-11-19·CVSS 4.8
CVE-2024-49768 [MEDIUM] Waitress vulnerabilities
Waitress vulnerabilities
It was discovered that Waitress could process follow up requests when
receiving a specially crafted message. An attacker could use this issue to
have the server process inconsistent client requests. This issue only
affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-49768)
Dylan Jay discovered that Waitress could be lead to write to an unexisting
socket after closing the remote connection. An attacker could use this
issue to increase resource utilization leading to a denial of service.
(CVE-2024-49769)
GHSA
Waitress has request processing race condition in HTTP pipelining with invalid first request
ghsa·2024-10-29
CVE-2024-49768 [CRITICAL] CWE-367 Waitress has request processing race condition in HTTP pipelining with invalid first request
Waitress has request processing race condition in HTTP pipelining with invalid first request
### Impact
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.
### Patches
Waitress 3.0.1 fixes the race condition.
### Workarounds
OSV
Waitress has request processing race condition in HTTP pipelining with invalid first request
osv·2024-10-29
CVE-2024-49768 [CRITICAL] Waitress has request processing race condition in HTTP pipelining with invalid first request
Waitress has request processing race condition in HTTP pipelining with invalid first request
### Impact
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.
### Patches
Waitress 3.0.1 fixes the race condition.
### Workarounds
OSV
CVE-2024-49768: Waitress is a Web Server Gateway Interface server for Python 2 and 3
osv·2024-10-29·CVSS 4.8
CVE-2024-49768 [MEDIUM] CVE-2024-49768: Waitress is a Web Server Gateway Interface server for Python 2 and 3
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
Ubuntu
Waitress vulnerabilities
vendor_ubuntu·2024-11-19·CVSS 9.1
CVE-2024-49768 [CRITICAL] Waitress vulnerabilities
Title: Waitress vulnerabilities
Summary: Several security issues were fixed in Waitress.
It was discovered that Waitress could process follow up requests when
receiving a specially crafted message. An attacker could use this issue to
have the server process inconsistent client requests. This issue only
affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-49768)
Dylan Jay discovered that Waitress could be lead to write to an unexisting
socket after closing the remote connection. An attacker could use this
issue to increase resource utilization leading to a denial of service.
(CVE-2024-49769)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
waitress: python-waitress: request processing race condition in HTTP pipelining with invalid first request
vendor_redhat·2024-10-29·CVSS 9.1
CVE-2024-49768 [CRITICAL] CWE-444 waitress: python-waitress: request processing race condition in HTTP pipelining with invalid first request
waitress: python-waitress: request processing race condition in HTTP pipelining with invalid first request
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. Wait
Debian
CVE-2024-49768: waitress - Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote c...
vendor_debian·2024·CVSS 9.1
CVE-2024-49768 [CRITICAL] CVE-2024-49768: waitress - Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote c...
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
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-10-29
Published