PT-2019-6233 · Waitress+3 · Waitress+3

Published

2019-12-19

·

Updated

2022-09-23

·

CVE-2019-16792

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions Waitress versions 1.3.1 and earlier
Description The issue is related to the incorrect handling of repeated Content-Length headers in Waitress, allowing request smuggling. If two Content-Length headers are sent in a single request, Waitress would treat the request as having no body, thereby treating the body of the request as a new request in HTTP pipelining. This can be exploited by sending a request with two Content-Length headers, which would get transformed into a comma-separated value that Waitress cannot cast to an integer, resulting in a Content-Length of 0 internally.
Recommendations For Waitress versions 1.3.1 and earlier, upgrade to Waitress 1.4.0 to fix the issue. As a temporary workaround, consider using a reverse proxy with protections against sending potentially bad HTTP requests to the backend, or hardening against potential issues like this. Restrict access to Waitress to minimize the risk of exploitation until the issue is resolved.

Fix

HTTP Request/Response Smuggling

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-1655
BDU:2022-05828
CVE-2019-16792
DLA-3000-1
GHSA-4PPP-GPCR-7QF6
GHSA-J7J6-7HFX-5522
OPENSUSE-SU-2020:1911-1
OPENSUSE-SU-2020:1922-1
OPENSUSE-SU-2020_1911-1
OPENSUSE-SU-2020_1922-1
PYSEC-2020-178
SUSE-RU-2020:2072-1
SUSE-RU-2020:2161-1
SUSE-SU-2020:1901-1
SUSE-SU-2020:3269-1
SUSE-SU-2020:3292-1

Affected Products

Alt Linux
Astra Linux
Suse
Waitress