CVE-2019-9948
CRITICAL 9.1CVSS 3.1urllib 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.
- Published
- 23 Mar 2019
- Last modified
- 14 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 2.0, < 2.7.17 | 2.7.17 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.8 | 3.5.8 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.6.0, < 3.6.9 | 3.6.9 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.7.0, < 3.7.4 | 3.7.4 |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* |
= 15.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:* |
= 42.3 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* |
= 29 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* |
= 30 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* |
= 19.04 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:* |
= 8.1 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:* |
= 8.2 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:* |
= 8.4 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:* |
= 8.6 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:8.4:*:*:*:*:*:*:* |
= 8.4 | |
| NVD | redhat | enterprise_linux_tuscpe:2.3:o:redhat:enterprise_linux_tus:8.2:*:*:*:*:*:*:* |
= 8.2 | |
| NVD | redhat | enterprise_linux_tuscpe:2.3:o:redhat:enterprise_linux_tus:8.4:*:*:*:*:*:*:* |
= 8.4 | |
| NVD | redhat | enterprise_linux_tuscpe:2.3:o:redhat:enterprise_linux_tus:8.6:*:*:*:*:*:*:* |
= 8.6 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:8.0:*:*:*:*:*:*:* |
= 8.0 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00092.html · Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00050.html · Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html · Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/107549 · Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:1700 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2030 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3335 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3520 · Third Party Advisory
- https://bugs.python.org/issue35907 · Exploit, Issue Tracking, Vendor Advisory
- https://github.com/python/cpython/pull/11842 · Patch, Third Party Advisory
- https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00011.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html · Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQEQLXLOCR3SNM3AA5RRYJFQ5AZBYJ4L/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRYFIMISZ47NTAU3XWZUOFB7CYL62KES/
- https://seclists.org/bugtraq/2019/Oct/29 · Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202003-26 · Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190404-0004/ · Third Party Advisory
- https://usn.ubuntu.com/4127-1/ · Third Party Advisory
- https://usn.ubuntu.com/4127-2/ · Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 23 Mar 2019)