Vulnerability · Published Apr 16, 2024 · Assigned by @huntr_ai

CVE-2024-1135HTTP Request Smuggling in benoitc/gunicorn

High 7.5

In plain English

A high-severity security flaw in benoitc/gunicorn from benoitc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.5High
Exploit odds (30 days)3.0%top 12.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12gunicorn20.1.0-6+deb12u1DEBIAN-CVE-2024-1135
Debian:13gunicorn22.0.0-1DEBIAN-CVE-2024-1135
Debian:14gunicorn22.0.0-1DEBIAN-CVE-2024-1135
PyPIgunicorn22.0.0GHSA-w3h3-4rj7-4ph4
PyPIgunicorn22.0.0PYSEC-2026-1434
Ubuntu:22.04:LTSgunicornno fix listedUBUNTU-CVE-2024-1135
Ubuntu:24.04:LTSgunicornno fix listedUBUNTU-CVE-2024-1135
Ubuntu:25.10gunicornno fix listedUBUNTU-CVE-2024-1135
Ubuntu:26.04:LTSgunicornno fix listedUBUNTU-CVE-2024-1135
Ubuntu:26.10gunicornno fix listedUBUNTU-CVE-2024-1135

Affected products (as reported)

VendorProductVersions
benoitc benoitc/gunicorn unspecified – through latest

Weakness: CWE-444 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References