Path Traversal in HackerOne Rubygems
CVE-2017-0901
RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.294 (98.2th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.263 · newest: 0.294 · change: +0.031
Affected products
- HackerOne Rubygems — versions Versions before 2.6.13
- Rubygems
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 8.0, 9.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.4, 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.4, 7.5, 7.6
- Red Hat Enterprise Linux Server Tus — versions 7.4, 7.6
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3685-1/ (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3553-1/ (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:0585 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2017/dsa-3966 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:0378 (vendor-advisory, Third Party Advisory)
- www.exploit-db.com/exploits/42611/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- www.securitytracker.com/id/1039249 (VDB Entry, Third Party Advisory, vdb-entry)
- hackerone.com/reports/243156 (Exploit, Patch, Third Party Advisory)
- access.redhat.com/errata/RHSA-2017:3485 (vendor-advisory, Third Party Advisory)
- github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2017-0901?
- CVE-2017-0901 is a high-severity vulnerability in HackerOne Rubygems, classified under Path Traversal. CVSS score: 7.5/10. Published 2017-08-31.
- How severe is CVE-2017-0901?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2017-0901 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.