VDB

CVE-2019-16785

CVE-2019-16785 PUBLISHED CVSS 7.1 HIGH

HTTP Request Smuggling: LF vs CRLF handling in Waitress

Reported by github_m · Published December 20, 2019

waitress is fixed in 8eba394ad75deaf9e5cd15b78a3d16b12e6b0eba and 1.4.0 (PyPI)

Waitress through version 1.3.1 implemented a "MAY" part of the RFC7230 which states: "Although the line terminator for the start-line and header fields is the sequence CRLF, a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR." Unfortunately if a front-end server does not parse header fields with an LF the same way as it does those with a CRLF it can lead to the front-end and the back-end server parsing the same HTTP message in two different ways. This can lead to a potential for HTTP request smuggling/splitting whereby Waitress may see two requests while the front-end server only sees a single HTTP message. This issue is fixed in Waitress 1.4.0.

Fixed versions

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

PackageEcosystemFixed in
waitressPyPI8eba394ad75deaf9e5cd15b78a3d16b12e6b0eba, 1.4.0
py3-waitressAlpine1.4.0-r0
WaitressPylons1.3.1
waitressagendaless1.3.1

Risk scores

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

Affected products

VendorProductVersions
PylonsWaitress<= 1.3.1
alpinepy3-waitress0
PylonsWaitress0
PyPIwaitress0

Timeline

  • Dec 20, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 10, 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-16785
vulnetix vdb fixes CVE-2019-16785

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-16785/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 ›