RCE in HackerOne Rubygems
CVE-2017-0899
RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.111 (95.9th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 95.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.108 · newest: 0.111 · change: +0.003
Affected products
- HackerOne Rubygems — versions Versions before 2.6.13
- Rubygems
- 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
- 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)
- hackerone.com/reports/226335 (Exploit, Patch, Third Party Advisory)
- www.securitytracker.com/id/1039249 (VDB Entry, Third Party Advisory, vdb-entry)
- github.com/rubygems/rubygems/commit/1bcbc7fe637b03145401ec9c094066285934a7f1 (Patch, Third Party Advisory)
- github.com/rubygems/rubygems/commit/ef0aa611effb5f54d40c7fba6e8235eb43c5a491 (Patch, Third Party Advisory)
- access.redhat.com/errata/RHSA-2017:3485 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/07/msg00012.html (mailing-list, Mailing List, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:0583 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2017-0899?
- CVE-2017-0899 is a critical-severity vulnerability in HackerOne Rubygems, classified under CWE-150. CVSS score: 9.8/10. Published 2017-08-31.
- How severe is CVE-2017-0899?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2017-0899 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.