HTTP Request Smuggling in benoitc/gunicorn
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| benoitc | benoitc/gunicorn | up to latest | — | No fix listed | CNA |
| — | gunicorn (PyPI) | before 22.0.0 | 22.0.0 | Patch available | GHSA-hc5x-x2vx-497g |
- benoitc/gunicorn Vendorbenoitc Affected up to latest Fixed in — No fix listed CNA
- gunicorn (PyPI) Vendor— Affected before 22.0.0 Fixed in 22.0.0 Patch available GHSA-hc5x-x2vx-497g
Remediation
- Fix · GHSA-hc5x-x2vx-497g gunicorn (PyPI) Fixed in 22.0.0 Advisory →
Red Hat 1 advisory
- RHSA-2025:3709 Released 2025-04-08 · Red Hat rating Importantupdated discovery container images
- Discovery 1 for RHEL 9 discovery/discovery-server-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Serverless | Affected | No fix yet |
| Discovery 1 for RHEL 9 | Fixed | RHSA-2025:3709 |
| Quay v3 | Fixed | — |
Timeline
- 2026-10-02 Threatist record created from CVE-2024-6827
- 2026-10-03 Alias added: GHSA-hc5x-x2vx-497g
References
More benoitc vulnerabilities
- TI-2026-34675 Unbounded memory consumption in WebSocket client in hackney CVSS 4.0HIGH 8.7
- TI-2026-34669 Atom table exhaustion via unrecognized URL schemes in hackney CVSS 4.0HIGH 8.7
- TI-2026-34668 Infinite loop in Alt-Svc header parser in hackney CVSS 4.0HIGH 8.7
- TI-2026-34679 Unbounded body accumulation in HTTP/3 response loop in hackney CVSS 4.0HIGH 8.2
- TI-2026-34673 SOCKS5 TLS upgrade ignores caller timeout in hackney CVSS 4.0HIGH 8.2
- TI-2026-34674 CRLF injection in WebSocket upgrade request in hackney CVSS 4.0MEDIUM 6.9
Sources
- CVE-2024-6827 · CVE Program
- CVE-2024-6827 · NVD
- FIRST EPSS
- GHSA-hc5x-x2vx-497g · GitHub Advisory Database · CC BY 4.0
- CVE-2024-6827 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences