ADVISORIES

Alpine Security Database

ALPINE-CVE-2019-16786

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.11py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.12py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.13py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.14py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.15py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.16py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.17py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.18py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.19py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.20py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.21py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.22py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.23py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)
Alpine:v3.24py3-waitress
All versions before 1.4.0-r0 (fixed in 1.4.0-r0)

References