GitHub Advisoryadvisory · PyPI
GHSA-hc5x-x2vx-497g Gunicorn HTTP Request/Response Smuggling vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2024-6827
- Ecosystem
- PyPI
- Packages
- gunicorn
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-444
- Reviewed
- 2025-03-21
Affected packages
• PyPI gunicorn: < 22.0.0 → fixed in 22.0.0
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.
Related
Alias · CVE (1)
- CVE-2024-6827 Gunicorn version 21.2.0 does not properly validate the value of the 'Transfer-Encoding' header as specified in the RFC standards, which… vulnerability
Weakness · CWE (1)
- CWE-444 Inconsistent Interpretation of HTTP Requests weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6827 advisory
- https://github.com/benoitc/gunicorn/issues/3087 web
- https://github.com/benoitc/gunicorn/issues/3278 web
- https://github.com/benoitc/gunicorn/pull/3113 web
- https://github.com/benoitc/gunicorn package
- https://github.com/benoitc/gunicorn/releases/tag/22.0.0 web
- https://huntr.com/bounties/1b4f8f38-39da-44b6-9f98-f618639d0dd7 web