Back
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…
Critical9.8EPSS 15.9%
- Published
- Updated
- Reserved
- Assigned by
- hackerone
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.
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 (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
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)
- 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://trackcve.app/cve/CVE-2017-0903)Record last updated .