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.0: 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/E:U/U:Clear
CVE-ID: CVE-2018-1000164
CWE-ID: CWE-113
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Gunicorn
Affected software:
Gunicorn

Detailed vulnerability description

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.

How to mitigate CVE-2018-1000164

Update to version 19.5.0.

Sources