Red Hat VEX
RHVEX-CVE-2024-1135
python-gunicorn: HTTP Request Smuggling due to improper validation of Transfer-Encoding headers
Details
An HTTP Request Smuggling vulnerability was found in Gunicorn. 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 |
|---|---|---|
| Red Hat:enterprise_linux:7 | python-gunicorn | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2024-1135
- https://bugzilla.redhat.com/show_bug.cgi?id=2275280
- https://www.cve.org/CVERecord?id=CVE-2024-1135
- https://nvd.nist.gov/vuln/detail/CVE-2024-1135
- https://github.com/advisories/GHSA-w3h3-4rj7-4ph4
- https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d
- https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1