CVE-2019-9740 Other in n/a
Attackers can inject CRLF sequences into HTTP headers or Redis commands via URL parameters in Python's urllib, potentially leading to request smuggling or cache poisoning.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-9740?
CVE-2019-9740 is a medium-severity vulnerability in Python Python, published on 13 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the query string after a ? character) followed by an HTTP header or a Redis command. This is fixed in: v2.7.17, v2.7.17rc1, v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.9, v3.6.9rc1; v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.
Weakness: CWE-93
Which versions are affected by CVE-2019-9740?
It affects 1 product.
Linux distribution packages (3)
python-CherryPy openSUSE:Tumbleweed | All versions | 18.10.0-4.1 |
python-CherryPy openSUSE:Tumbleweed | All versions | 18.6.1-1.2 |
python-CherryPy openSUSE:Tumbleweed | All versions | 18.9.0-3.3 |
Products include Python Python.
How do I fix CVE-2019-9740?
Upgrade to a fixed version.
Is CVE-2019-9740 being exploited?
There is no known exploitation of CVE-2019-9740 in the wild and no public exploit code.
Other vulnerabilities in Python Python
Sources
Also known as DEBIAN-CVE-2019-9740, GHSA-p3j2-v862-h3v3, PSF-2019-10, UBUNTU-CVE-2019-9740, openSUSE-SU-2024:11204-1, openSUSE-SU-2024:14128-1 and 1 more.