CVE-2019-10160

NameCVE-2019-10160
DescriptionA security regression of CVE-2019-9636 was discovered in python since commit d537ab0ff9767ef024f26246899728f0116b1ec3 affecting versions 2.7, 3.5, 3.6, 3.7 and from v3.8.0a4 through v3.8.0b1, which still allows an attacker to exploit CVE-2019-9636 by abusing the user and password parts of a URL. When an application parses user-supplied URLs to store cookies, authentication credentials, or other kind of information, it is possible for an attacker to provide specially crafted URLs to make the application locate host-related information (e.g. cookies, authentication data) and send them to a different host than where it should, unlike if the URLs had been correctly parsed. The result of an attack may vary based on the application.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)jessie2.7.9-2+deb8u1fixed
jessie (security)2.7.9-2+deb8u5fixed
stretch (security), stretch2.7.13-2+deb9u3fixed
buster2.7.16-2+deb10u1fixed
bullseye, sid2.7.17-1fixed
python3.4 (PTS)jessie3.4.2-1fixed
jessie (security)3.4.2-1+deb8u7fixed
python3.5 (PTS)stretch (security), stretch3.5.3-1+deb9u1fixed
python3.7 (PTS)buster3.7.3-2vulnerable
bullseye, sid3.7.5-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.7source(unstable)2.7.16-3
python2.7sourcebuster2.7.16-2+deb10u1
python2.7sourcejessie(not affected)
python2.7sourcestretch(not affected)
python3.4source(unstable)(not affected)
python3.5source(unstable)(not affected)
python3.6source(unstable)(not affected)
python3.7source(unstable)3.7.4~rc2-2

Notes

[buster] - python3.7 <no-dsa> (Minor issue)
- python3.6 <not-affected> (Incomplete fix for CVE-2019-9636 not applied)
- python3.5 <not-affected> (Incomplete fix for CVE-2019-9636 not applied)
- python3.4 <not-affected> (Incomplete fix for CVE-2019-9636 not applied)
[stretch] - python2.7 <not-affected> (Incomplete fix for CVE-2019-9636 not applied)
[jessie] - python2.7 <not-affected> (Incomplete fix for CVE-2019-9636 not applied)
Introduced by: https://github.com/python/cpython/commit/d537ab0ff9767ef024f26246899728f0116b1ec3 (v3.8.0a4)
Fixed by: https://github.com/python/cpython/commit/8d0ef0b5edeae52960c7ed05ae8a12388324f87e (v3.8.0b1)
https://github.com/python/cpython/commit/250b62acc59921d399f0db47db3b462cd6037e09 (3.7)
https://bugs.python.org/issue36742
Patches for 2.7:
https://github.com/python/cpython/commit/98a4dcefbbc3bce5ab07e7c0830a183157250259
https://github.com/python/cpython/commit/f61599b050c621386a3fc6bc480359e2d3bb93de
https://github.com/python/cpython/commit/2b578479b96aa3deeeb8bac313a02b5cf3cb1aff

Search for package or bug name: Reporting problems