All vulnerabilities

Servers and applications

CVE-2019-9740

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,…

Severity
Medium 6.1
Published
13 Mar 2019
Last changed
14 Oct 2026
Added to UpHeron
21 Oct 2026
Fixed in
2.7.17, 3.5.8, 3.6.9, 3.7.4
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • From 2.0 before 2.7.17
  • From 3.5.0 before 3.5.8
  • From 3.6.0 before 3.6.9
  • From 3.7.0 before 3.7.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2019-9740
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2019-9740