HTTP response splitting in Gunicorn - CVE-2018-1000164

 

HTTP response splitting in Gunicorn - CVE-2018-1000164

Published: April 30, 2018


Vulnerability identifier: #VU12292
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-1000164
CWE-ID: CWE-113
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to write arbitrary files on the target system.

The weakness exists in "process_headers" function in "gunicorn/http/wsgi.py" due to improper neutralization of CRLF Sequences in HTTP headers. A remote attacker can cause the server to return arbitrary HTTP headers and write arbitrary files on the target system.

Affected software

Gunicorn
Debian Linux
Fedora
python-gunicorn

How to mitigate CVE-2018-1000164

Update to version 19.5.0.

python-gunicorn - update to 18.0-2.el6

External References

Related Security Bulletins