
CVE catalog
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
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 11.84% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | python | Not reported | 3.7.4 | fixed |
| Cpe | python | Not reported | 3.5.8 | fixed |
| Cpe | python | Not reported | 3.6.9 | fixed |
| Cpe | python | Not reported | 3.7.4 | fixed |
| Cpe | leap | Not reported | Not reported | unknown |
| Cpe | leap | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | fedora | Not reported | Not reported | unknown |
| Cpe | fedora | Not reported | Not reported | unknown |
| Cpe | ubuntu_linux | Not reported | Not reported | unknown |
| Cpe | ubuntu_linux | Not reported | Not reported | unknown |
| Cpe | ubuntu_linux | Not reported | Not reported | unknown |
| Cpe | ubuntu_linux | Not reported | Not reported | unknown |
| Cpe | ubuntu_linux | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_desktop | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_desktop | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_eus | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_eus | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_eus | Not reported | Not reported | unknown |
| Ubuntu | python2.7 | pro | 2.7.5-8ubuntu3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.5-8ubuntu4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-2 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-2ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-3ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-4ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-5 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-7 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.2 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.5 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm2 | fixed |
| Ubuntu | python3.4 | pro | 3.4~b1-0ubuntu3 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b1-4ubuntu4 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b1-4ubuntu6 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b1-5ubuntu2 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b2-1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b3-1ubuntu1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~rc1-1build1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~rc2-1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~rc3-0ubuntu1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.0-1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.0-2ubuntu1.1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.3 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.4 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.5 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.6 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.7 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.7+esm2 | fixed |
| Ubuntu | python3.5 | pro | 3.5.2-2ubuntu0~16.04.4~14.04.1 | vulnerable |
| Ubuntu | python3.5 | pro | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | fixed |
| Ubuntu | python2.7 | 16.04 | 2.7.10-4ubuntu1 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.10-4ubuntu2 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-2 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-3 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-4 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-6 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-7 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-7ubuntu1 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1~16.04 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.1 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.2 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.3 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.4 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.8 | fixed |
| Ubuntu | python3.5 | 16.04 | 3.5.0-3 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.0-3ubuntu1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1~rc1-2ubuntu1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-2 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-3 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-5 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-6ubuntu1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-6ubuntu2 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-9ubuntu1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-10 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2~16.01 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2~16.04 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.2 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.3 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.4 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.5 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.8 | fixed |
| Ubuntu | python2.7 | 18.04 | 2.7.14-2ubuntu2 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.14-4 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.14-6 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.14-7 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.14-8 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.15~rc1-1 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.15~rc1-1ubuntu0.1 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.15-4ubuntu4~18.04 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.15-4ubuntu4~18.04.1 | fixed |
| Ubuntu | python3.6 | 18.04 | 3.6.3-1ubuntu1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4~rc1-1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4~rc1-2 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4-1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4-2 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4-3build1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4-4 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.5~rc1-1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.5-3 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.6-1~18.04 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.7-1~18.04 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.8-1~18.04.1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.8-1~18.04.2 | fixed |
| Alpine | python2 | 3.10 | 2.7.16-r1 | fixed |
| Alpine | python2 | 3.11 | 2.7.16-r1 | fixed |
| Alpine | python2 | 3.12 | 2.7.16-r1 | fixed |
| Alpine | python2 | 3.7 | 2.7.15-r2 | fixed |
| Alpine | python2 | 3.8 | 2.7.15-r2 | fixed |
| Alpine | python2 | 3.9 | 2.7.16-r1 | fixed |
| Debian | python2.7 | 11 | 2.7.16-2 | fixed |
| Debian | python3.4 | 8 | 3.4.2-1 | vulnerable |
| Debian | python3.4 | 8 | 3.4.2-1+deb8u1 | vulnerable |
| Debian | python3.4 | 8 | 3.4.2-1+deb8u2 | vulnerable |
| Debian | python3.4 | 8 | 3.4.2-1+deb8u3 | vulnerable |
| Debian | python3.4 | 8 | 3.4.2-1+deb8u4 | vulnerable |
| Debian | python3.4 | 8 | 3.4.2-1+deb8u5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | python | cpe | Not reported | 3.7.4 | Not reported | NVD-CVE-2019-9948 | Not reported |
| Cpe | python | cpe | Not reported | 3.5.8 | Not reported | NVD-CVE-2019-9948 | Not reported |
| Cpe | python | cpe | Not reported | 3.6.9 | Not reported | NVD-CVE-2019-9948 | Not reported |
| Cpe | python | cpe | Not reported | 3.7.4 | Not reported | NVD-CVE-2019-9948 | Not reported |
| Ubuntu | python2.7 | deb | pro | 2.7.6-8ubuntu0.6+esm2 | Not reported | UBUNTU-CVE-2019-9948 | Not reported |
| Ubuntu | python3.4 | deb | pro | 3.4.3-1ubuntu1~14.04.7+esm2 | Not reported | UBUNTU-CVE-2019-9948 | Not reported |
| Ubuntu | python3.5 | deb | pro | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | Not reported | UBUNTU-CVE-2019-9948 | Not reported |
| Ubuntu | python2.7 | deb | 16.04 | 2.7.12-1ubuntu0~16.04.8 | Not reported | UBUNTU-CVE-2019-9948 | Not reported |
| Ubuntu | python3.5 | deb | 16.04 | 3.5.2-2ubuntu0~16.04.8 | Not reported | UBUNTU-CVE-2019-9948 | Not reported |
| Ubuntu | python2.7 | deb | 18.04 | 2.7.15-4ubuntu4~18.04.1 | Not reported | UBUNTU-CVE-2019-9948 | Not reported |
| Ubuntu | python3.6 | deb | 18.04 | 3.6.8-1~18.04.2 | Not reported | UBUNTU-CVE-2019-9948 | Not reported |
| Alpine | python2 | apk | 3.10 | 2.7.16-r1 | Not reported | ALPINE-CVE-2019-9948 | Not reported |
| Alpine | python2 | apk | 3.11 | 2.7.16-r1 | Not reported | ALPINE-CVE-2019-9948 | Not reported |
| Alpine | python2 | apk | 3.12 | 2.7.16-r1 | Not reported | ALPINE-CVE-2019-9948 | Not reported |
| Alpine | python2 | apk | 3.7 | 2.7.15-r2 | Not reported | ALPINE-CVE-2019-9948 | Not reported |
| Alpine | python2 | apk | 3.8 | 2.7.15-r2 | Not reported | ALPINE-CVE-2019-9948 | Not reported |
| Alpine | python2 | apk | 3.9 | 2.7.16-r1 | Not reported | ALPINE-CVE-2019-9948 | Not reported |
| Debian | python2.7 | deb | 11 | 2.7.16-2 | Not reported | DEBIAN-CVE-2019-9948 | Not reported |
| Debian | python3.4 | deb | 8 | 3.4.2-1+deb8u5 | Not reported | DLA-1852-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2019_2030.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2019-9948]
- [https://osv.dev/vulnerability/ALPINE-CVE-2019-9948]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-9948]
- [https://osv.dev/vulnerability/DLA-1852-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-9948]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-9948.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2019/wid-sec-w-2024-1599.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]