# CVE-2024-49768: python3-waitress: Waitress is a Web Server Gateway Interface server for Python 2 and 3

CVE-2024-49768 is fixed in 4 products on 1 platform, first by python3-waitress 2.1.2-2ubuntu0.1~esm1, released October 29, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-49768
- Priority: Routine
- CVSS: 4.8 (Medium)
- EPSS: 0.0049
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 29, 2024

## Description

Waitress is a Web Server Gateway Interface server for Python 2 and 3. Aremote client may send a request that is exactly recv_bytes (defaults to8192) long, followed by a secondary request using HTTP pipelining. Whenrequest lookahead is disabled (default) we won't read any more requests,and when the first request fails due to a parsing error, we simply closethe connection. However when request lookahead is enabled, it is possibleto process and receive the first request, start sending the error messageback to the client while we read the next request and queue it. This willallow the secondary request to be serviced by the worker thread while theconnection should be closed. Waitress 3.0.1 fixes the race condition. As aworkaround, disable channel_request_lookahead, this is set to 0 by defaultdisabling this feature.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-waitress sles 15.6 | 2.1.2-150400.12.7.1 | [SUSE-SU-2024:3876-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3876-1.md) | Nov 1, 2024 |
| Linux | python-waitress-doc sles 15.6 | 2.1.2-150400.12.7.1 | [SUSE-SU-2024:3876-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3876-1.md) | Nov 1, 2024 |
| Linux | python3-waitress Ubuntu 24.04.5 LTS (noble) | 2.1.2-2ubuntu0.1~esm1 | [python3-waitress 2.1.2-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-waitress-2.1.2-2ubuntu0.1-esm1.md) | Oct 29, 2024 |
| Linux | python3-waitress Ubuntu 24.10 (oracular) | 3.0.0-1ubuntu0.1 | [python3-waitress 3.0.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-waitress-3.0.0-1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | python3-waitress amzn 2023 | 2.1.2-1.amzn2023.0.3 | [ALAS2023-2024-773](https://patchblox.com/security/data/fix/linux/alas2023-2024-773.md) | Dec 5, 2024 |
| Linux | waitress Debian 12.15 (bookworm) | 2.1.2-2+deb12u1 | [DEBIAN-CVE-2024-49768](https://patchblox.com/security/data/fix/linux/debian-cve-2024-49768.md) | Oct 29, 2024 |
| Linux | waitress Debian 13.5 (trixie) | 3.0.1-1 | [DEBIAN-CVE-2024-49768](https://patchblox.com/security/data/fix/linux/debian-cve-2024-49768.md) | Oct 29, 2024 |
| Linux | waitress Debian 14 | 3.0.1-1 | [DEBIAN-CVE-2024-49768](https://patchblox.com/security/data/fix/linux/debian-cve-2024-49768.md) | Oct 29, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
