Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-6827HTTP Request Smuggling in benoitc/gunicorn
High 7.5
In plain English
A high-severity security flaw in benoitc/gunicorn from benoitc. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Gunicorn version 21.2.0 does not properly validate the value of the 'Transfer-Encoding' header as specified in the RFC standards, which leads to the default fallback method of 'Content-Length,' making it vulnerable to TE.CL request smuggling. This vulnerability can lead to cache poisoning, data exposure, session manipulation, SSRF, XSS, DoS, data integrity compromise, security bypass, information leakage, and business logic abuse.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gunicorn | no fix listed | DEBIAN-CVE-2024-6827 |
| Debian:13 | gunicorn | 23.0.0-1 | DEBIAN-CVE-2024-6827 |
| Debian:14 | gunicorn | 23.0.0-1 | DEBIAN-CVE-2024-6827 |
| PyPI | gunicorn | 22.0.0 | GHSA-hc5x-x2vx-497g |
| PyPI | gunicorn | 22.0.0 | PYSEC-2026-1433 |
| Ubuntu:22.04:LTS | gunicorn | no fix listed | UBUNTU-CVE-2024-6827 |
| Ubuntu:24.04:LTS | gunicorn | no fix listed | UBUNTU-CVE-2024-6827 |
| Ubuntu:25.10 | gunicorn | no fix listed | UBUNTU-CVE-2024-6827 |
| Ubuntu:26.04:LTS | gunicorn | no fix listed | UBUNTU-CVE-2024-6827 |
| Ubuntu:26.10 | gunicorn | no fix listed | UBUNTU-CVE-2024-6827 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| benoitc | benoitc/gunicorn | unspecified – through latest |
Weakness: CWE-444 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N