CVE-2019-9947

MEDIUM CVSS 3.1: 6.1 EPSS 5.25%
Updated Oct 14, 2026
Python
Parameter Value
CVSS 6.1 (MEDIUM)
Affected Versions 2.7.0 — 3.7.4
Fixed In 2.7.17
Type CWE-93
Vendor Python
Public PoC No

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 path component of a URL that lacks a ? character) followed by an HTTP header or a Redis command. This is similar to the CVE-2019-9740 query string issue. 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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 4

Configuration From (including) Up to (excluding)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
2.7.0 2.7.17
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.5.0 3.5.8
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.6.0 3.6.9
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.7.0 3.7.4

References 22

https://bugs.python.org/issue35906
NVD
https://security.netapp.com/advisory/ntap-20190404-0004/
NVD
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-1ffd6b6064
https://access.redhat.com/errata/RHSA-2019:1260
RHSA-2019:1260
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-ec26883852
https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html
[debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update
https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html
[debian-lts-announce] 20190625 [SECURITY] [DLA 1835-1] python3.4 security update
https://lists.debian.org/debian-lts-announce/2019/06/msg00026.html
[debian-lts-announce] 20190625 [SECURITY] [DLA 1835-2] python3.4 regression update
https://access.redhat.com/errata/RHSA-2019:2030
RHSA-2019:2030
https://usn.ubuntu.com/4127-2/
USN-4127-2
https://usn.ubuntu.com/4127-1/
USN-4127-1
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html
openSUSE-SU-2019:2389
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html
openSUSE-SU-2019:2393
https://access.redhat.com/errata/RHSA-2019:3335
RHSA-2019:3335
https://access.redhat.com/errata/RHSA-2019:3520
RHSA-2019:3520
https://access.redhat.com/errata/RHSA-2019:3725
RHSA-2019:3725
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
openSUSE-SU-2020:0086
https://security.gentoo.org/glsa/202003-26
GLSA-202003-26
https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
[debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update
https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
[debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security update
http://www.openwall.com/lists/oss-security/2021/02/04/2
[oss-security] 20210204 [CVE-2020-15693, CVE-2020-15694] Nim - stdlib Httpclient - Header Crlf Injection & Server Response Validation
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e