PT-2022-4802

CVE-2022-24761

·

Published

2022-03-17

·

Updated

2026-11-22

Description by

CVSS 4.0
8.7
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Waitress versions 2.1.0 and prior
Description The issue is related to the handling of HTTP requests in Waitress, a Web Server Gateway Interface server for Python 2 and 3. When used behind a proxy that does not properly validate incoming HTTP requests according to the RFC7230 standard, Waitress and the frontend proxy may disagree on where one request starts and ends. This can allow requests to be smuggled via the front-end proxy to Waitress, potentially leading to data integrity issues. Two classes of vulnerability contribute to this issue: the use of Python's int() to parse strings into integers, which can lead to incorrect parsing (e.g., +10 being parsed as 10, or 0x01 as 1), and Waitress's handling of chunk extensions, where it discards them without validating for illegal characters.
Recommendations For versions 2.1.0 and prior, upgrade to Waitress 2.1.1 to patch the vulnerability. As a temporary workaround, when deploying a proxy in front of Waitress, turn on all functionality to ensure the request matches the RFC7230 standard. However, certain proxy servers may not have this functionality, so upgrading to the latest version of Waitress is recommended.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-4F7P-27JC-3C36
ALT-PU-2024-1367
ALT-PU-2024-1388
ALT-PU-2024-5994
AZL-43984
AZL-45060
DLA-3000-1
DSA-5138-1
MGASA-2022-0182
OESA-2022-1643
OPENSUSE-SU-2022_3731-1
OPENSUSE-SU-2024:11942-1
OPENSUSE-SU-2025:15108-1
PYSEC-2022-169
RHLW-2026-2236BA367D1B87A2
RHSA-2022:1253
RHSA-2022:1254
RHSA-2022:1264
SUSE-SU-2022:3583-1
SUSE-SU-2022:3635-1
SUSE-SU-2022:3731-1
SUSE-SU-2022_3731-1
USN-5364-1
Found an issue in the description? Have something to add? Feel free to write us 👾