VDB

CVE-2019-9947

CVE-2019-9947 PUBLISHED CVSS 5.4 MEDIUM

Reported by mitre · Published March 23, 2019

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-toolsAmazon Linux3.7.3-1.amzn2.0.2
alpine/python-3.12alpine3.8.0-alpha4, 3.7.4-rc1, 3.6.9-rc1, 3.5.8-rc1, 2.7.17-rc1
alpine/python-3.15alpine3.8.0-alpha4, 3.7.4-rc1, 3.6.9-rc1, 3.5.8-rc1, 2.7.17-rc1
python3.5Ubuntu:Pro:14.04:LTS3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
alpine/python-3.10alpine3.8.0-alpha4, 3.7.4-rc1, 3.6.9-rc1, 3.5.8-rc1, 2.7.17-rc1
python2.7Ubuntu:18.04:LTS2.7.15-4ubuntu4~18.04.1
debian/python-3.13debian3.8.0-alpha4, 3.7.4-rc1, 3.6.9-rc1, 3.5.8-rc1, 2.7.17-rc1
debian/python-3.15debian3.8.0-alpha4, 3.7.4-rc1, 3.6.9-rc1, 3.5.8-rc1, 2.7.17-rc1
debian/python-3.11debian3.8.0-alpha4, 3.7.4-rc1, 3.6.9-rc1, 3.5.8-rc1, 2.7.17-rc1
python2.7Ubuntu:Pro:14.04:LTS2.7.6-8ubuntu0.6+esm2
python3.6Ubuntu:18.04:LTS3.6.8-1~18.04.2
pythonDHI3.8.0-alpha4, 3.7.4-rc1, 3.6.9-rc1, 3.5.8-rc1, 2.7.17-rc1

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
amazon:2python3-tools0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
n/an/a*
amazon:2python3-test0
amazon:2python3-debug0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2python3-devel0
amazon:2python3-libs0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2python30
amazon:2python3-tkinter0

Timeline

  • Mar 23, 2019 CVE Published
  • May 6, 2020 PoC Published (2 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (12 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (22 in total, the first dated here)
  • Sep 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-9947
vulnetix vdb fixes CVE-2019-9947

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-9947/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 2 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›