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…
- 9.8CriticalCVSS base score
- 15.9%Exploitation in 30 daysEPSS · top 3.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By hackerone
- 11 months later
· 11 months later
Published
- 7 years later
· 7 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 15.9% · top 3.1% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsrubygems-updateGHSA-mqwr-4qf2-2hcv (opens in a new tab)
References
13
- USN-3685-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3553-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2018:0585 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:0378 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://hackerone.com/reports/274990 (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4031 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2017:3485 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://blog.rubygems.org/2017/10/09/2.6.14-released.html (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2018:0583 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 101275 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-4613 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mqwr-4qf2-2hcv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-0903)Record last updated .