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/passwd') call.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.118 (96.1th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.118 · newest: 0.118 · change: 0.000
Affected products
- Python
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 8.0, 9.0
- Fedoraproject Fedora — versions 29, 30
- openSUSE Leap — versions 15.0, 42.3
- Red Hat Enterprise Linux Desktop — versions 7.0, 8.0
- Red Hat Enterprise Linux Eus — versions 8.1, 8.2, 8.4
- Red Hat Enterprise Linux Server — versions 7.0, 8.0
- Red Hat Enterprise Linux Server Eus — versions 8.4
- Red Hat Enterprise Linux Tus — versions 8.2, 8.4, 8.6
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugs.python.org/issue35907 (Exploit, Issue Tracking, Vendor Advisory)
- github.com/python/cpython/pull/11842 (Patch, Third Party Advisory)
- www.securityfocus.com/bid/107549 (VDB Entry, Third Party Advisory, vdb-entry)
- security.netapp.com/advisory/ntap-20190404-0004/ (Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00092.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00050.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/06/msg00022.html (mailing-list, Mailing List, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:1700 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/07/msg00011.html (mailing-list, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (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.