CVE-2024-1135
HIGH8.2EPSS 0.05%gunicorn - security update
Published: 4/16/2024Modified: 4/28/2026
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 packages (4)
- Debian/gunicornfrom 0, < 20.1.0-1+deb11u1
- Debian/gunicornfrom 0, < 19.9.0-1+deb10u1
- Debian/gunicornfrom 0, < 20.1.0-1+deb11u1
- PyPI/gunicornfrom 0, < 22.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
References (10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-1135
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-1135
- PATCHhttps://github.com/benoitc/gunicorn
- WEBhttps://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d
- WEBhttps://github.com/benoitc/gunicorn/issues/3091
- WEBhttps://github.com/benoitc/gunicorn/pull/3113
- WEBhttps://github.com/benoitc/gunicorn/releases/tag/22.0.0
- WEBhttps://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1
- WEBhttps://lists.debian.org/debian-lts-announce/2024/06/msg00027.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/12/msg00018.html