CVE-2017-0901
RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any…
- 7.5HighCVSS base score
- 29.4%Exploitation in 30 daysEPSS · top 1.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Show the exploits2
Exploit-DB1 entry
- RubyGems < 2.6.13 - Arbitrary File Overwrite (Exploit-DB entry) (opens in a new tab)
EDB-ID 42611local, linuxpublished 4 Sept 2017Verified
References tagged exploit1 reference
- 42611 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By hackerone
- 9 months later
· 9 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 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 29.4% · top 1.8% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsrubygems-updateGHSA-pm9x-4392-2c2p (opens in a new tab)
References
15
- 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
- DSA-3966 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2018:0378 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 42611 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 1039249 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://hackerone.com/reports/243156 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2017:3485 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2 (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
- GLSA-201710-01 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 100580 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://blog.rubygems.org/2017/08/27/2.6.13-released.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-4796 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pm9x-4392-2c2p (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-0901)Record last updated .