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)
ReferencesDLA-3851-1, ELA-1117-1
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
stretch (lts), stretch19.6.0-10+deb9u3fixed
buster (security), buster, buster (lts)19.9.0-1+deb10u1fixed
bullseye20.1.0-1vulnerable
bookworm20.1.0-6vulnerable
sid, trixie23.0.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gunicornsourcejessie(unfixed)end-of-life
gunicornsourcestretch19.6.0-10+deb9u3ELA-1117-1
gunicornsourcebuster19.9.0-1+deb10u1DLA-3851-1
gunicornsource(unstable)22.0.0-11069126

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