CVE-2019-9948

Exp

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.

Published: 2019-03-23 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2019-9948 is rated High Exploit Risk (78/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 0.92%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2019-9948

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2019-9948

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-01 0.96% 0.92% -0.04%
2 2026-04-01 0.94% 0.96% +0.02%
3 2025-12-28 0.94%

Full EPSS history (28 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2019-9948

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 5.2 [email protected]
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
10.0 4.9 [email protected]

Weakness enumeration for CVE-2019-9948

OS Trackers for CVE-2019-9948

vendor priority summary link
alpine critical CVE-2019-9948: 1 source package rows (python2); 4 state rows across 4 repos (3.10-main, 3.11-main, 3.12-main, edge-community); fixed 4, open 0. https://security.alpinelinux.org/vuln/CVE-2019-9948
debian not yet assigned CVE-2019-9948 not yet assigned priority: Debian including 1 source packages (python2.7), 1 status rows across 1 suites (bullseye): resolved 1. https://security-tracker.debian.org/tracker/CVE-2019-9948
gentoo normal CVE-2019-9948: 1 GLSA(s) (202003-26), 1 atom(s) (dev-lang/python); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2019-9948
redhat medium https://access.redhat.com/security/cve/CVE-2019-9948
suse low CVE-2019-9948 severity low: SUSE including 428 source package names (amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, amazon/suse-sles-15-sp1-chost-byos-v20220127-hvm-ssd-x86_64, …), 1022 product×package rows across 96 product lines (HPE Helion OpenStack 8, Image SLES12-SP5-OCI-BYOS-BYOS, … (96 product lines)): Fixed 613, Known Affected 231, Known Not Affected 178. https://www.suse.com/security/cve/CVE-2019-9948/
ubuntu medium CVE-2019-9948 medium priority: Ubuntu including 5 source packages (python2.7, python3.4, python3.5, python3.6, python3.7), 85 status rows across 17 suites (bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, trusty, upstream, xenial): DNE 59, not-affected 10, released 10, needs-triage 4, ignored 2. https://ubuntu.com/security/CVE-2019-9948

Affected software / configurations for CVE-2019-9948

Vendor Product Version Raw CPE
python python >= 2.0, < 2.7.17 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
python python >= 3.5.0, < 3.5.8 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
python python >= 3.6.0, < 3.6.9 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
python python >= 3.7.0, < 3.7.4 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
opensuse leap 15.0 cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
opensuse leap 42.3 cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
fedoraproject fedora 29 cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
fedoraproject fedora 30 cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
canonical ubuntu_linux 12.04 cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 19.04 cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 7.0 cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 8.0 cpe:2.3:o:redhat:enterprise_linux_desktop:8.0:*:*:*:*:*:*:*
redhat enterprise_linux_eus 8.1 cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*
redhat enterprise_linux_eus 8.2 cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:*
redhat enterprise_linux_eus 8.4 cpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:*
redhat enterprise_linux_eus 8.6 cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*
redhat enterprise_linux_server 7.0 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server 8.0 cpe:2.3:o:redhat:enterprise_linux_server:8.0:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 8.4 cpe:2.3:o:redhat:enterprise_linux_server_eus:8.4:*:*:*:*:*:*:*
redhat enterprise_linux_tus 8.2 cpe:2.3:o:redhat:enterprise_linux_tus:8.2:*:*:*:*:*:*:*
redhat enterprise_linux_tus 8.4 cpe:2.3:o:redhat:enterprise_linux_tus:8.4:*:*:*:*:*:*:*
redhat enterprise_linux_tus 8.6 cpe:2.3:o:redhat:enterprise_linux_tus:8.6:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 7.0 cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 8.0 cpe:2.3:o:redhat:enterprise_linux_workstation:8.0:*:*:*:*:*:*:*

References for CVE-2019-9948

URL Tags
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
cvelogic Threat Intelligence