High severity · published Dec 20, 2019
CVE-2019-16785
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…
7.5
CVSS
2.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.5% · higher than 85% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CC
DL
Debian Linux · Debian
9.0 · source: NVD
FE
Fedora · Fedoraproject
30; 31 · source: NVD
OP
Openstack · Redhat
15 · source: NVD
WA
Waitress · Agendaless
through 1.3.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-16785
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-16785
Third Party Advisory
https://access.redhat.com/errata/RHSA-2020:0720
Vendor Advisory
https://docs.pylonsproject.org/projects/waitress/en/latest/#security-fixes
Patch
https://github.com/Pylons/waitress/commit/8eba394ad75deaf9e5cd15b78a3d16b12e6b0eba
Exploit
https://github.com/Pylons/waitress/security/advisories/GHSA-pg36-wpm5-g57p
Mailing List
https://lists.debian.org/debian-lts-announce/2022/05/msg00011.html
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GVDHR2DNKCNQ7YQXISJ45NT4IQDX3LJ7/
More from Waitress
8.2
CVE-2019-16789
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…
7.5
CVE-2024-49769
Waitress is a Web Server Gateway Interface server for Python 2 and 3
7.5
CVE-2022-24761
Waitress is a Web Server Gateway Interface server for Python 2 and 3
7.5
CVE-2019-16792
Waitress through version 1.3.1 allows request smuggling by sending the Content-Length header twice
7.5
CVE-2019-16786
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…
