CVE-2024-1135

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGunicorn
PublishedApr 16, 2024
First seenApr 16, 2024
Weakness typeCWE-444CWE-444

How to fix

Update
  • gunicorn22.0.0 or later

Affected products

ProductAffected versionsFixed in
gunicornPyPIv < 22.0.022.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.