What is 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.
The record classifies CVE-2017-0903 under weakness class CWE-502. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 3337 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 9.8 — CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS (FIRST)
- 15.8% probability of exploitation in the next 30 days, higher than 97.5% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 10/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2017-10-11
Is CVE-2017-0903 being exploited?
Weaponised exploit code for CVE-2017-0903 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 5 in the Threadlinqs vulnerability feed.
- trickest/cve (trickest)
Affected products and versions
- HackerOne: RubyGems
How to fix CVE-2017-0903
The record marks a vendor fix as available for CVE-2017-0903. Patch reference: https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49. Vendor advisory: http://blog.rubygems.org/2017/10/09/2.6.14-released.html. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2017-0903
1 tracked threat in the Threadlinqs corpus references CVE-2017-0903, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, public proof-of-concept repositories. This product uses the NVD API but is not endorsed or certified by the NVD.
Vendor advisory and patch
- usn.ubuntu.com — vendor advisory
- usn.ubuntu.com — vendor advisory (3553 1)
- access.redhat.com — vendor advisory
- access.redhat.com — vendor advisory (RHSA 2018:0378)
- debian.org — vendor advisory
Vulnerability database entry
Mailing list and disclosure
Other references
- hackerone.com
- github.com
- blog.rubygems.org
- blog.rubygems.org (unsafe object deserialization vulnerabil)
Showing 11 of 13 recorded references.