CVE-2019-16786

NameCVE-2019-16786
DescriptionWaitress 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3000-1
Debian Bugs947306

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
waitress (PTS)jessie, jessie (lts)0.8.9-2+deb8u1vulnerable
stretch (security), stretch (lts), stretch1.0.1-1+deb9u1fixed
buster, buster (lts)1.2.0~b2-2+deb10u2fixed
buster (security)1.2.0~b2-2+deb10u1fixed
bullseye1.4.4-1.1+deb11u1fixed
bullseye (security)1.4.4-1.1+deb11u2fixed
bookworm2.1.2-2fixed
sid, trixie3.0.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
waitresssourcestretch1.0.1-1+deb9u1DLA-3000-1
waitresssourcebuster1.2.0~b2-2+deb10u1
waitresssource(unstable)1.4.1-1947306

Notes

[jessie] - waitress <no-dsa> (Minor issue)
https://github.com/Pylons/waitress/security/advisories/GHSA-g2xc-35jw-c63p
https://github.com/Pylons/waitress/commit/f11093a6b3240fc26830b6111e826128af7771c3

Search for package or bug name: Reporting problems