CVE-2019-16786: HTTP Request Smuggling: Invalid Transfer-Encoding in Waitress
Vulnerability summary
CVE-2019-16786 is a high (CVSS 7.5) vulnerability in agendaless waitress. EPSS estimates a 2.38% chance of exploitation in the next 30 days, higher than 83.9% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 7Timeline
- 20-12-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 6 sources · 3 versions- CVE.orgCNA7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:NDiffers
- OSV · PypiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
2.38%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.38% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- waitress< 1.4.1-1
- debian_linuxEOL9.0
Agendaless1 product
- waitress< 1.3.1
Alpine1 product
- py3-waitress< 1.4.0-r0
Fedoraproject1 product
- fedoraEOL30 | 31
Oracle1 product
Pylons1 product
- waitress≥ <= 1.3.1, ≤ 1.3.1
PyPI1 product
- waitress< 1.4.0 | < f11093a6b3240fc26830b6111e826128af7771c3 | < 1.3.1
Redhat1 product
Ubuntu1 product
- waitressAll versions (No fix recorded)
9 vendors · 10 products
References
19 links- access.redhat.com/errata/RHSA-2020:0720Vendor AdvisoryX Refsource REDHATThird Party AdvisoryWEBAdvisory
- docs.pylonsproject.org/projects/waitress/en/latest/X Refsource MISCRelease NotesVendor AdvisoryWEBREPORT
- github.com/Pylons/waitress/security/advisories/GHSA-g2xc-35jw-c63pX Refsource CONFIRMThird Party AdvisoryWEBAdvisoryREPORT
- github.com/Pylons/waitress/commit/f11093a6b3240fc26830b6111e826128af7771c3X Refsource MISCPatchThird Party AdvisoryWEBFIX
- lists.debian.org/debian-lts-announce/2022/05/msg00011.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- github.com/Pylons/waitressPACKAGE