CVE & CISA-KEV Catalog

CVE-2019-9947

MEDIUMEPSS 92th pctl
6.1
CVSS v3
NVD

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 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.

How to fix

Remediation Available
python2.7Debian
Fixed in:2.7.16-3CVE-2019-9947
python2.7Ubuntu
Fixed in:2.7.6-8ubuntu0.6+esm2USN-4127-2
Fixed in:2.7.12-1ubuntu0~16.04.8USN-4127-1
Fixed in:2.7.15-4ubuntu4~18.04.1USN-4127-1
python2.7-minimalUbuntu
Fixed in:2.7.6-8ubuntu0.6+esm2USN-4127-2
Fixed in:2.7.12-1ubuntu0~16.04.8USN-4127-1
Fixed in:2.7.15-4ubuntu4~18.04.1USN-4127-1
python3.10Ubuntu
Fixed in:3.10.12-1~22.04.4USN-6891-1
python3.10-minimalUbuntu
Fixed in:3.10.12-1~22.04.4USN-6891-1
python3.11Ubuntu
Fixed in:3.11.0~rc1-1~22.04.1~esm1USN-6891-1
Fixed in:3.11.6-3ubuntu0.1USN-6891-1
python3.11-minimalUbuntu
Fixed in:3.11.0~rc1-1~22.04.1~esm1USN-6891-1
Fixed in:3.11.6-3ubuntu0.1USN-6891-1
python3.12Ubuntu
Fixed in:3.12.0-1ubuntu0.1USN-6891-1
python3.12-minimalUbuntu
Fixed in:3.12.0-1ubuntu0.1USN-6891-1
python3.4Ubuntu
Fixed in:3.4.3-1ubuntu1~14.04.7+esm2USN-4127-2
python3.4-minimalUbuntu
Fixed in:3.4.3-1ubuntu1~14.04.7+esm2USN-4127-2
python3.5Ubuntu
Fixed in:3.5.2-2ubuntu0~16.04.4~14.04.1+esm1USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.8USN-4127-1
python3.5-minimalUbuntu
Fixed in:3.5.2-2ubuntu0~16.04.4~14.04.1+esm1USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.8USN-4127-1
python3.6Ubuntu
Fixed in:3.6.8-1~18.04.2USN-4127-1
Fixed in:3.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
python3.6-minimalUbuntu
Fixed in:3.6.8-1~18.04.2USN-4127-1
Fixed in:3.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
python3.7Ubuntu
Fixed in:3.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
python3.7-minimalUbuntu
Fixed in:3.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
python3.8Ubuntu
Fixed in:3.8.0-3ubuntu1~18.04.2+esm2USN-6891-1
Fixed in:3.8.10-0ubuntu1~20.04.10USN-6891-1
python3.8-minimalUbuntu
Fixed in:3.8.0-3ubuntu1~18.04.2+esm2USN-6891-1
Fixed in:3.8.10-0ubuntu1~20.04.10USN-6891-1
python3.9Ubuntu
Fixed in:3.9.5-3ubuntu0~20.04.1+esm2USN-6891-1
python3.9-minimalUbuntu
Fixed in:3.9.5-3ubuntu0~20.04.1+esm2USN-6891-1
Python 2Windows application
Affected:3.6.0 3.6.9Fixed in:3.6.9Python Software Foundation
Affected:2.7.0 2.7.17Fixed in:2.7.17Python Software Foundation
Affected:3.5.0 3.5.8Fixed in:3.5.8Python Software Foundation
Affected:3.7.0 3.7.4Fixed in:3.7.4Python Software Foundation
Python 3.10Windows application
Affected:3.5.0 3.5.8Fixed in:3.5.8Python Software Foundation
Affected:2.7.0 2.7.17Fixed in:2.7.17Python Software Foundation
Affected:3.6.0 3.6.9Fixed in:3.6.9Python Software Foundation
Affected:3.7.0 3.7.4Fixed in:3.7.4Python Software Foundation
Python 3.11Windows application
Affected:3.5.0 3.5.8Fixed in:3.5.8Python Software Foundation
Affected:3.6.0 3.6.9Fixed in:3.6.9Python Software Foundation
Affected:3.7.0 3.7.4Fixed in:3.7.4Python Software Foundation
Affected:2.7.0 2.7.17Fixed in:2.7.17Python Software Foundation
Python 3.12Windows application
Affected:3.7.0 3.7.4Fixed in:3.7.4Python Software Foundation
Affected:2.7.0 2.7.17Fixed in:2.7.17Python Software Foundation
Affected:3.5.0 3.5.8Fixed in:3.5.8Python Software Foundation
Affected:3.6.0 3.6.9Fixed in:3.6.9Python Software Foundation
Python 3.8Windows application
Affected:2.7.0 2.7.17Fixed in:2.7.17Python Software Foundation
Affected:3.7.0 3.7.4Fixed in:3.7.4Python Software Foundation
Affected:3.5.0 3.5.8Fixed in:3.5.8Python Software Foundation
Affected:3.6.0 3.6.9Fixed in:3.6.9Python Software Foundation
Python 3.9Windows application
Affected:3.6.0 3.6.9Fixed in:3.6.9Python Software Foundation
Affected:3.5.0 3.5.8Fixed in:3.5.8Python Software Foundation
Affected:2.7.0 2.7.17Fixed in:2.7.17Python Software Foundation
Affected:3.7.0 3.7.4Fixed in:3.7.4Python Software Foundation

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploit Intelligence

5.41%probability of exploitation in 30 days
92ndpercentile

High risk: more likely to be exploited than 92% of all known CVEs.

References

Related Vulnerabilities

Other CWE-93 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-61884High7.598%KEV + Ransom-
CVE-2022-0666High7.544%-Fix
CVE-2016-3115Medium6.437%-Fix
CVE-2024-20337High8.230%-Fix
CVE-2021-39172High8.829%-Fix
CVE-2016-4975Medium6.120%-Fix

Common questions

How do I fix CVE-2019-9947?

Published advisories record a fix for 27 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2019-9947 being actively exploited?

Not that we know of. CVE-2019-9947 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 5.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 92% of all scored CVEs.

How severe is CVE-2019-9947?

CVE-2019-9947 has a CVSS v3 base score of 6.1, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2019-9947 affect?

Published advisories record a fix for python2.7 (Debian), python2.7 (Ubuntu), python2.7-minimal (Ubuntu), python3.10 (Ubuntu), and 23 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2019-9947
CVE-2019-9947 severity badge

Markdown

[![CVE-2019-9947](https://tridentstack.com/cve/badge/CVE-2019-9947.svg)](https://tridentstack.com/cve/CVE-2019-9947)

HTML

<a href="https://tridentstack.com/cve/CVE-2019-9947"><img src="https://tridentstack.com/cve/badge/CVE-2019-9947.svg" alt="CVE-2019-9947"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.