CVE-2019-9948

NameCVE-2019-9948
Descriptionurllib in Python 2.x through 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection mechanisms that blacklist file: URIs, as demonstrated by triggering a urllib.urlopen('local_file:///etc/passwd') call.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1834-1, DLA-1852-1, DLA-2280-1, DLA-2337-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)bullseye2.7.18-8+deb11u1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.7sourcejessie2.7.9-2+deb8u3DLA-1834-1
python2.7sourcestretch2.7.13-2+deb9u4DLA-2337-1
python2.7source(unstable)2.7.16-2
python3.4sourcejessie3.4.2-1+deb8u5DLA-1852-1
python3.4source(unstable)(unfixed)
python3.5sourcestretch3.5.3-1+deb9u2DLA-2280-1
python3.5source(unstable)(unfixed)
python3.6source(unstable)(unfixed)
python3.7sourcebuster3.7.3-2+deb10u1
python3.7source(unstable)3.7.4~rc2-2

Notes

https://bugs.python.org/issue35907
https://github.com/python/cpython/pull/11842
https://github.com/python/cpython/commit/34bab215596671d0dec2066ae7d7450cd73f638b (3.7)
https://github.com/python/cpython/commit/4f06dae5d8d4400ba38d8502da620f07d4a5696e (3.6)
https://github.com/python/cpython/commit/b15bde8058e821b383d81fcae68b335a752083ca (2.7)
https://github.com/python/cpython/commit/942c31dffbe886ff02e25a319cc3891220b8c641 (2.7)

Search for package or bug name: Reporting problems