Name | CVE-2019-9947 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1834-1, DLA-1835-1, DLA-2280-1, DLA-2337-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python2.7 (PTS) | bullseye | 2.7.18-8+deb11u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python2.7 | source | jessie | 2.7.9-2+deb8u3 | DLA-1834-1 | ||
python2.7 | source | stretch | 2.7.13-2+deb9u4 | DLA-2337-1 | ||
python2.7 | source | buster | 2.7.16-2+deb10u1 | |||
python2.7 | source | (unstable) | 2.7.16-3 | |||
python3.4 | source | jessie | 3.4.2-1+deb8u3 | DLA-1835-1 | ||
python3.4 | source | (unstable) | (unfixed) | |||
python3.5 | source | stretch | 3.5.3-1+deb9u2 | DLA-2280-1 | ||
python3.5 | source | (unstable) | (unfixed) | |||
python3.6 | source | (unstable) | (unfixed) | |||
python3.7 | source | buster | 3.7.3-2+deb10u1 | |||
python3.7 | source | (unstable) | 3.7.4~rc2-2 |
https://bugs.python.org/issue35906
Introduced by: https://github.com/python/cpython/commit/cc54c1c0d2d05fe7404ba64c53df4b1352ed2262 (v3.4.7rc1)
Introduced by: https://github.com/python/cpython/commit/d4324baca4c03eb8d55446cd1b74b32ec5633af5 (v2.7.14rc1)
CVE-2019-9947 issue fixed with same fix as for CVE-2019-9740
Patch 2.7: https://github.com/python/cpython/commit/bb8071a4cae5ab3fe321481dd3d73662ffb26052