VDB

CVE-2019-16789

CVE-2019-16789 PUBLISHED CVSS 7.1 HIGH

HTTP Request Smuggling in Waitress: Invalid whitespace characters in headers

Reported by github_m · Published December 26, 2019

waitress is fixed in 11d9e138125ad46e951027184b13242a3c1de017, 1.4.2 and 1.4.1 (PyPI)

In Waitress through version 1.4.0, if a proxy server is used in front of waitress, an invalid request may be sent by an attacker that bypasses the front-end and is parsed differently by waitress leading to a potential for HTTP request smuggling. Specially crafted requests containing special whitespace characters in the Transfer-Encoding header would get parsed by Waitress as being a chunked request, but a front-end server would use the Content-Length instead as the Transfer-Encoding header is considered invalid due to containing invalid characters. If a front-end server does HTTP pipelining to a backend Waitress server this could lead to HTTP request splitting which may lead to potential cache poisoning or unexpected information disclosure. This issue is fixed in Waitress 1.4.1 through more strict HTTP field validation.

Fixed versions

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

PackageEcosystemFixed in
waitressPyPI11d9e138125ad46e951027184b13242a3c1de017, 1.4.2, 1.4.1
py3-waitressAlpine1.4.1-r0
WaitressPylons1.4.1
waitressagendaless1.4.0

Risk scores

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

Affected products

VendorProductVersions
PylonsWaitress< 1.4.1
PylonsWaitress0
alpinepy3-waitress0
PyPIwaitress0

Timeline

  • Dec 26, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 9, 2026 Security Advisory (4 in total, the first dated here)
  • Sep 13, 2026 Coalition ESS Score
  • Nov 1, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-16789
vulnetix vdb fixes CVE-2019-16789

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-2019-16789/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 ›