CVE-2024-6827
HTTP Request Smuggling in benoitc/gunicorn
Reported by @huntr_ai · Published March 20, 2025
gunicorn is fixed in 22.0.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gunicorn | PyPI | 22.0.0 |
| emissary | Chainguard | 3.9.1-r14 |
| superset | Chainguard | 4.1.1-r8 |
| emissary | Wolfi | 3.9.1-r14 |
| superset | Wolfi | 4.1.1-r8 |
| benoitc/gunicorn | benoitc | latest |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| benoitc | benoitc/gunicorn | unspecified |
| chainguard | emissary | 0 |
| chainguard | superset | 0 |
| PyPI | gunicorn | 0 |
| benoitc | benoitc/gunicorn | * |
| wolfi | emissary | 0 |
| wolfi | superset | 0 |
Timeline
- Mar 20, 2025 CVE Published
- Mar 20, 2025 EPSS Score (30 in total, the first dated here)
- Mar 22, 2025 Coalition ESS Score (13 in total, the first dated here)
- Mar 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-6827
vulnetix vdb fixes CVE-2024-6827
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-6827/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6827 advisory
- https://github.com/advisories/GHSA-hc5x-x2vx-497g advisory
- https://github.com/benoitc/gunicorn/issues/3087 url
- https://github.com/benoitc/gunicorn/issues/3278 url
- https://github.com/benoitc/gunicorn/pull/3113 patch
- https://github.com/benoitc/gunicorn url
- https://github.com/benoitc/gunicorn/releases/tag/22.0.0 url