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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- security-tracker.debian.org vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.python.org exploit issue-tracking vendor-advisory
- github.com patch third-party-advisory
- 107549 third-party-advisory vdb-entry
- security.netapp.com third-party-advisory
- openSUSE-SU-2019:1273 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:1580 mailing-list third-party-advisory vendor-advisory
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update mailing-list third-party-advisory
- RHSA-2019:1700 third-party-advisory vendor-advisory
- [debian-lts-announce] 20190711 [SECURITY] [DLA 1852-1] python3.4 security update mailing-list third-party-advisory
- FEDORA-2019-9bfb4a3e4b vendor-advisory
- FEDORA-2019-60a1defcd1 vendor-advisory
- RHSA-2019:2030 third-party-advisory vendor-advisory
- USN-4127-2 third-party-advisory vendor-advisory
- USN-4127-1 third-party-advisory vendor-advisory
- 20191021 [slackware-security] python (SSA:2019-293-01) mailing-list third-party-advisory
- packetstormsecurity.com third-party-advisory vdb-entry
- RHSA-2019:3335 third-party-advisory vendor-advisory
- RHSA-2019:3520 third-party-advisory vendor-advisory
- GLSA-202003-26 third-party-advisory vendor-advisory
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update mailing-list third-party-advisory
- [bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the apache/bookkeeper-4.9.2 image mailing-list
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security update mailing-list third-party-advisory
- cert-portal.siemens.com