Skip to content

CVE-2019-9948 urllib 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...

CriticalCVSS 9.1 EPSS 11.8%
Published
Updated
Exploit status
No public exploit known

Description

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

Affected products

ProductAffected versionsFixed in
debian/python2.7(Debian:11) < 2.7.16-2 2.7.16-2
alpine/python2(Alpine:v3.10) < 2.7.16-r1 2.7.16-r1
alpine/python2(Alpine:v3.11) < 2.7.16-r1 2.7.16-r1
alpine/python2(Alpine:v3.12) < 2.7.16-r1 2.7.16-r1
alpine/python2(Alpine:v3.13) < 2.7.16-r1 2.7.16-r1
alpine/python2(Alpine:v3.14) < 2.7.16-r1 2.7.16-r1
alpine/python2(Alpine:v3.15) < 2.7.16-r1 2.7.16-r1
alpine/python2(Alpine:v3.7) < 2.7.15-r2 2.7.15-r2
alpine/python2(Alpine:v3.8) < 2.7.15-r2 2.7.15-r2
alpine/python2(Alpine:v3.9) < 2.7.16-r1 2.7.16-r1
alpine/python2-tkinter(Alpine:v3.10) < 2.7.17-r0 2.7.17-r0
alpine/python2-tkinter(Alpine:v3.11) < 2.7.17-r0 2.7.17-r0
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
python >= 2.0, < 2.7.17 2.7.17
python >= 3.5.0, < 3.5.8 3.5.8
python >= 3.6.0, < 3.6.9 3.6.9
python >= 3.7.0, < 3.7.4 3.7.4
openSUSE leap = 15.0 No fix listed
openSUSE leap = 42.3 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
fedoraproject fedora = 29 No fix listed
fedoraproject fedora = 30 No fix listed
Show 19 more
ProductAffected versionsFixed in
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
Canonical Ubuntu Linux = 19.04 No fix listed
redhat enterprise linux desktop = 7.0 No fix listed
redhat enterprise linux desktop = 8.0 No fix listed
redhat enterprise linux eus = 8.1 No fix listed
redhat enterprise linux eus = 8.2 No fix listed
redhat enterprise linux eus = 8.4 No fix listed
redhat enterprise linux eus = 8.6 No fix listed
redhat enterprise linux server = 7.0 No fix listed
redhat enterprise linux server = 8.0 No fix listed
redhat enterprise linux server eus = 8.4 No fix listed
redhat enterprise linux tus = 8.2 No fix listed
redhat enterprise linux tus = 8.4 No fix listed
redhat enterprise linux tus = 8.6 No fix listed
redhat enterprise linux workstation = 7.0 No fix listed
redhat enterprise linux workstation = 8.0 No fix listed

References