CVEfocus › CVE database › CVE-2019-16786

CVE-2019-16786HTTP Request Smuggling: Invalid Transfer-Encoding in Waitress

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

Waitress through version 1.3.1 would parse the Transfer-Encoding header and only look for a single string value, if that value was not chunked it would fall through and use the Content-Length header instead. According to the HTTP standard Transfer-Encoding should be a comma separated list, with the inner-most encoding first, followed by any further transfer codings, ending with chunked. Requests sent with: "Transfer-Encoding: gzip, chunked" would incorrectly get ignored, and the request would use a Content-Length header instead to determine the body size of the HTTP message. This could allow for Waitress to treat a single request as multiple requests in the case of HTTP pipelining. 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-16786
Ubuntu 16.04waitressFix pendingUBUNTU-CVE-2019-16786
Ubuntu 14.04waitressFix pending
Debian 14waitressFixed1.4.1-1DEBIAN-CVE-2019-16786
Debian 13waitressFixed1.4.1-1DEBIAN-CVE-2019-16786
Debian 12waitressFixed1.4.1-1DEBIAN-CVE-2019-16786
Alpine Linux 3.24py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.23py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.22py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.21py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.20py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.19py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.18py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.17py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.16py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.15py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.14py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.13py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.12py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
Alpine Linux 3.11py3-waitressFixed1.4.0-r0ALPINE-CVE-2019-16786
PyPI librarywaitressFixed1.3.1GHSA-g2xc-35jw-c63p

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.