Debian Security Tracker
DEBIAN-CVE-2024-1135
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | gunicorn | All versions before 20.1.0-6+deb12u1 (fixed in 20.1.0-6+deb12u1) |
| Debian:13 | gunicorn | All versions before 22.0.0-1 (fixed in 22.0.0-1) |
| Debian:14 | gunicorn | All versions before 22.0.0-1 (fixed in 22.0.0-1) |