PT-2023-9088 · Gunicorn+4 · Unicorn+4

Published

2023-12-19

·

Updated

2025-12-01

·

CVE-2024-1135

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 Gunicorn versions prior to 22.0.0
Description Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.
Recommendations For versions prior to 22.0.0, update to version 22.0.0 or later to resolve the issue. As a temporary workaround, consider blocking access to restricted endpoints via a firewall or other mechanism if updating is not possible. Restrict access to endpoints that may be vulnerable to HTTP Request Smuggling attacks until the issue is resolved. Avoid using the Transfer-Encoding header in requests to Gunicorn servers until the issue is resolved.

Fix

HTTP Request/Response Smuggling

Weakness Enumeration

Related Identifiers

ALT-PU-2024-15877
ALT-PU-2024-16006
ALT-PU-2024-16232
BDU:2024-03553
CVE-2024-1135
DLA-3851-1
DLA-3996-1
GHSA-W3H3-4RJ7-4PH4
MGASA-2024-0236
OPENSUSE-SU-2024:13891-1
OPENSUSE-SU-2024_1440-1
RHSA-2024:2727
RHSA-2024:3781
RHSA-2024:4054
RHSA-2024:7987
RHSA-2025:1335
SUSE-SU-2024:1440-1
SUSE-SU-2024:2881-1
SUSE-SU-2024_1440-1
SUSE-SU-2024_2881-1

Affected Products

Alt Linux
Astra Linux
Unicorn
Red Os
Suse