CVE-2024-1135

NameCVE-2024-1135
DescriptionGunicorn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1069126

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gunicorn (PTS)jessie, jessie (lts)19.0-1+deb8u1vulnerable
stretch19.6.0-10+deb9u1vulnerable
buster19.9.0-1vulnerable
bullseye20.1.0-1vulnerable
sid, trixie, bookworm20.1.0-6vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gunicornsourcejessie(unfixed)end-of-life
gunicornsource(unstable)(unfixed)1069126

Notes

[bookworm] - gunicorn <no-dsa> (Minor issue)
[bullseye] - gunicorn <no-dsa> (Minor issue)
[buster] - gunicorn <postponed> (Minor issue)
https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1
https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d

Search for package or bug name: Reporting problems