CVE-2019-9948
Reported by mitre · Published March 23, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-devel | Amazon Linux | 2.7.16-3.amzn2.0.1 |
| python-libs | Amazon Linux | 2.7.16-3.amzn2.0.1 |
| python-tools | Amazon Linux | 2.7.16-3.amzn2.0.1 |
| python | Amazon Linux | 2.7.16-3.amzn2.0.1 |
| python2 | Alpine | 2.7.16-r1, 2.7.15-r2 |
| tkinter | Amazon Linux | 2.7.16-3.amzn2.0.1 |
| python2-tkinter | Alpine | 2.7.17-r0 |
| python-test | Amazon Linux | 2.7.16-3.amzn2.0.1 |
| python2.7 | Ubuntu:Pro:14.04:LTS | 2.7.6-8ubuntu0.6+esm2 |
| python | DHI | 3.8.0-beta1, 3.7.4-rc1, 3.6.9-rc1, 3.5.8-rc1, 2.7.17-rc1 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| python2.7 | Ubuntu:18.04:LTS | 2.7.15-4ubuntu4~18.04.1 |
17 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2 | python-devel | 0 |
| amazon:2 | python-libs | 0 |
| amazon:2 | python-tools | 0 |
| amazon:2 | python | 0 |
| alpine | python2 | 0, 0 |
| amazon:2 | tkinter | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| alpine | python2-tkinter | 0 |
| amazon:2 | python-test | 0 |
| n/a | n/a | * |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | python-debug | 0 |
Timeline
- Mar 23, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Dec 16, 2025 PoC Published
- Mar 6, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 6, 2026 Security Advisory (19 in total, the first dated here)
- Sep 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-9948
vulnetix vdb fixes CVE-2019-9948
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-9948/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- 107549 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- openSUSE-SU-2019:1273 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1580 vendor-advisoryx_refsource_SUSE
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update mailing-listx_refsource_MLIST
- RHSA-2019:1700 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20190711 [SECURITY] [DLA 1852-1] python3.4 security update mailing-listx_refsource_MLIST
- FEDORA-2019-9bfb4a3e4b vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-60a1defcd1 vendor-advisoryx_refsource_FEDORA
- RHSA-2019:2030 vendor-advisoryx_refsource_REDHAT
- USN-4127-2 vendor-advisoryx_refsource_UBUNTU
- USN-4127-1 vendor-advisoryx_refsource_UBUNTU
- 20191021 [slackware-security] python (SSA:2019-293-01) mailing-listx_refsource_BUGTRAQ
- x_refsource_MISC
- RHSA-2019:3335 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3520 vendor-advisoryx_refsource_REDHAT
- GLSA-202003-26 vendor-advisoryx_refsource_GENTOO
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update mailing-listx_refsource_MLIST
…and 3 more