CVEfocus › CVE database › CVE-2019-16785

CVE-2019-16785HTTP Request Smuggling: LF vs CRLF handling in Waitress

CVSS 7.1 HighEPSS 2.5% (higher than 86% of CVEs)Published 2019-12-20Updated 2024-08-05Assigner: GitHub_M

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.

CWE-444

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
3Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04waitressNot affected
vulnerable_code_not_present
Ubuntu 25.10waitressNot affected
vulnerable_code_not_present
Ubuntu 22.04waitressNot affected
vulnerable_code_not_present
Ubuntu 20.04waitressNot affected
vulnerable_code_not_present
Ubuntu 18.04waitressFix pendingUBUNTU-CVE-2019-16785
Ubuntu 16.04waitressFix pendingUBUNTU-CVE-2019-16785
Ubuntu 14.04waitressFix pending
Debian 14waitressFixed1.4.1-1DEBIAN-CVE-2019-16785
Debian 13waitressFixed1.4.1-1DEBIAN-CVE-2019-16785
Debian 12waitressFixed1.4.1-1DEBIAN-CVE-2019-16785
Alpine Linux 3.24py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.23py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.22py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.21py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.20py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.19py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.18py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.17py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.16py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.15py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.14py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.13py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.12py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
Alpine Linux 3.11py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16785
PyPI librarywaitressFixed1.4.0GHSA-pg36-wpm5-g57p

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.