Bug 1222950 (CVE-2024-1135)

Summary: VUL-0: CVE-2024-1135: python-gunicorn: HTTP Request Smuggling
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Markéta Machová <mmachova>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: mmachova, p.drouand, stoyan.manolov, thomas.leroy
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/401959/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-1135:7.4:(AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-17 08:30:35 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-1135
https://www.cve.org/CVERecord?id=CVE-2024-1135
https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1
Comment 1 Thomas Leroy 2024-04-17 09:28:41 UTC
Fix (released in 22.0.0):
https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d

All codestreams look affected:
- SUSE:ALP:Source:Standard:1.0
- SUSE:SLE-12-SP4:Update:Products:Cloud9:Update
- SUSE:SLE-15-SP4:Update
- SUSE:SLE-15:Update
- openSUSE:Factory
Comment 3 Maintenance Automation 2024-04-26 08:30:24 UTC
SUSE-SU-2024:1440-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1222950
CVE References: CVE-2024-1135
Maintenance Incident: [SUSE:Maintenance:33444](https://smelt.suse.de/incident/33444/)
Sources used:
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src):
 python-gunicorn-20.1.0-150400.12.6.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src):
 python-gunicorn-20.1.0-150400.12.6.1
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src):
 python-gunicorn-20.1.0-150400.12.6.1
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src):
 python-gunicorn-20.1.0-150400.12.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src):
 python-gunicorn-20.1.0-150400.12.6.1
openSUSE Leap 15.4 (src):
 python-gunicorn-20.1.0-150400.12.6.1, python-gunicorn-test-20.1.0-150400.12.6.1
openSUSE Leap 15.5 (src):
 python-gunicorn-20.1.0-150400.12.6.1
Python 3 Module 15-SP5 (src):
 python-gunicorn-20.1.0-150400.12.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.