Deserialization in HackerOne Rubygems
CVE-2017-0903
RubyGems versions between 2.0.0 and 2.6.13 are vulnerable to a possible remote code execution vulnerability. YAML deserialization of gem specifications can bypass class white lists. Specially crafted serialized objects can possibly be used to escalate to remote code execution.
Vulnerability class: Insecure Deserialization
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.159 (96.9th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.152 · newest: 0.159 · change: +0.006
Affected products
- HackerOne Rubygems — versions Versions >= 2.0.0
- Rubygems — versions 2.0.0, 2.0.1, 2.0.2
- 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)
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)
- access.redhat.com/errata/RHSA-2018:0378 (vendor-advisory, Third Party Advisory)
- hackerone.com/reports/274990 (Third Party Advisory)
- www.debian.org/security/2017/dsa-4031 (vendor-advisory, Third Party Advisory)
- github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49 (Patch, Third Party Advisory)
- access.redhat.com/errata/RHSA-2017:3485 (vendor-advisory, Third Party Advisory)
- blog.rubygems.org/2017/10/09/2.6.14-released.html (Vendor Advisory)
- lists.debian.org/debian-lts-announce/2018/07/msg00012.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2017-0903?
- CVE-2017-0903 is a critical-severity vulnerability in HackerOne Rubygems, classified under Deserialization of Untrusted Data. CVSS score: 9.8/10. Published 2017-10-11.
- How severe is CVE-2017-0903?
- Critical severity. CVSS v3 base score is 9.8 out of 10.