VDB

CVE-2024-49768

CVE-2024-49768 PUBLISHED CVSS 9.1 CRITICAL

Reported by github_m · Published October 29, 2024

waitress is fixed in 3.0.1 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
waitressPyPI3.0.1
waitresspylons3.0.1
waitressagendaless3.0.1

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
Pylonswaitress>= 2.0.0, < 3.0.1
Pylonswaitress2.0.0
PyPIwaitress2.0.0
amazon:2023python3-waitress0
pylonswaitress2.0.0

Timeline

  • Oct 29, 2024 CVE Published
  • Oct 29, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Oct 29, 2024 PoC Published (6 in total, the first dated here)
  • Oct 30, 2024 EPSS Score (30 in total, the first dated here)
  • Jan 21, 2025 CVE Updated
  • Jan 2, 2026 Security Advisory (12 in total, the first dated here)
  • Oct 20, 2026 Distribution Patch (10 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-49768
vulnetix vdb fixes CVE-2024-49768

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-49768/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›