Gunicorn contains Improper Neutralization of CRLF sequences in HTTP headers
Published 12 Jul 2018 · Updated 8 Sept 2026
Is your project on an affected gunicorn?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <19.5.0
- Fixed in
- 19.5.0
pip install 'gunicorn>=19.5.0'Details
gunicorn version 19.4.5 contains a CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers vulnerability in "process_headers" function in "gunicorn/http/wsgi.py" that can result in an attacker causing the server to return arbitrary HTTP headers. This vulnerability appears to have been fixed in 19.5.0.
Is GHSA-32pc-xphx-q4f6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected gunicorn, and gives you the command that fixes it.
More advisories for gunicorn
- HighCVE-2024-6827Gunicorn HTTP Request/Response Smuggling vulnerability · 20 Mar 2025
- HighCVE-2024-1135Request smuggling leading to endpoint restriction bypass in Gunicorn · 16 Apr 2024
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-1000164
- Linkgithub.com/benoitc/gunicorn/issues/1227
- Linkgithub.com/benoitc/gunicorn/commit/1e10a02e73c87dfadc394b361af33864d0e59e24
- Linkepadillas.github.io/2018/04/02/http-header-splitting-in-gunicorn-19.4.5
- Packagegithub.com/benoitc/gunicorn
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/gunicorn/PYSEC-2018-55.yaml
- Linklists.debian.org/debian-lts-announce/2018/04/msg00022.html
- Linkusn.ubuntu.com/4022-1
- Linkwww.debian.org/security/2018/dsa-4186
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.