Path Traversal in Python
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 a urllib.urlopen('local_file:///etc/pa…
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.123 (95.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
Affected products
- Python
- Canonical Ubuntu_linux — versions 12.04, 14.04, 16.04
- Debian Debian_linux — versions 8.0, 9.0
- Fedoraproject Fedora — versions 29, 30
- Opensuse Leap — versions 15.0, 42.3
- Redhat Enterprise_linux_desktop — versions 7.0, 8.0
- Redhat Enterprise_linux_eus — versions 8.1, 8.2, 8.4
- Redhat Enterprise_linux_server — versions 7.0, 8.0
- Redhat Enterprise_linux_server_eus — versions 8.4
- Redhat Enterprise_linux_tus — versions 8.2, 8.4, 8.6
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, x_refsource_MISC, Issue Tracking, Vendor Advisory)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
- cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)
- cve@mitre.org (vendor-advisory, Mailing List, Third Party Advisory, x_refsource_SUSE)
- cve@mitre.org (vendor-advisory, Mailing List, Third Party Advisory, x_refsource_SUSE)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- cve@mitre.org (x_refsource_FEDORA, vendor-advisory)
Frequently asked questions
- What is CVE-2019-9948?
- CVE-2019-9948 is a critical-severity vulnerability in Python, classified under Path Traversal. CVSS score: 9.1/10. Published 2019-03-23.
- How severe is CVE-2019-9948?
- Critical severity. CVSS v3 base score is 9.1 out of 10.
- Is CVE-2019-9948 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.