What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Pypi Gunicorn 22.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-1135 or the next vulnerability affects your stack