CVE-2020-26137: CRLF Injection
A flaw was found in python-urllib3. The HTTPConnection.request() does not properly validate CRLF sequences in the HTTP request method, potentially allowing manipulation of the request by injecting additional HTTP headers. The highest threat from this vulnerability is to confidentiality and integrity.
Other sources
A security issue was found in python-urllib3. HTTPConnection.request() does not properly validate CRLF sequences in the HTTP request method, potentially allowing to manipulate the request by injecting additional HTTP headers. Note that CVE-2020-26116 is strictly related to this bug, as the same flaw was reported in both urllib3 and built-in modules httplib/http.client.
References: https://bugs.python.org/issue39603
Upstream patch PR (merged upstream): https://github.com/urllib3/urllib3/pull/1800
Upstream commit: https://github.com/urllib3/urllib3/commit/1dd69c5c5982fae7c87a620d487c2ebf7a6b436b
— Red Hat
urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.
— GitHub
urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.
urllib3 is vulnerable to CRLF injection. By inserting CR and LF control characters in the first argument of putrequest(), a remote attacker could exploit this vulnerability to conduct various attacks against the vulnerable system, including cross-site scripting, cache poisoning or session hijacking.
— IBM
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2020-26137?
CVE-2020-26137 is a vulnerability in urllib3 library that allows CRLF injection if the attacker controls the HTTP request method.
What is the severity of CVE-2020-26137?
The severity of CVE-2020-26137 is high, with a CVSS score of 7.4.
How does CVE-2020-26137 impact confidentiality and integrity?
CVE-2020-26137 can potentially impact confidentiality and integrity of the affected system.
Which software versions are affected by CVE-2020-26137?
Versions up to and excluding urllib3 1.25.9 are affected by CVE-2020-26137.
What is the remedy for CVE-2020-26137?
The remedy for CVE-2020-26137 is to update urllib3 to version 1.25.9 or later.