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.
CVE-2017-0901
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 20.6%, top 4% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 98.0%
- KEV
- Not listed
Published
August 31, 2017
Last Modified
May 13, 2026
References (30)
- support@hackeronehttp://blog.rubygems.org/2017/08/27/2.6.13-released.html
- support@hackeronehttp://www.securityfocus.com/bid/100580
- support@hackeronehttp://www.securitytracker.com/id/1039249
- support@hackeronehttps://access.redhat.com/errata/RHSA-2017:3485
- support@hackeronehttps://access.redhat.com/errata/RHSA-2018:0378
- support@hackeronehttps://access.redhat.com/errata/RHSA-2018:0583
- support@hackeronehttps://access.redhat.com/errata/RHSA-2018:0585
- support@hackeronehttps://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2
- support@hackeronehttps://hackerone.com/reports/243156
- support@hackeronehttps://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- support@hackeronehttps://security.gentoo.org/glsa/201710-01
- support@hackeronehttps://usn.ubuntu.com/3553-1/
- support@hackeronehttps://usn.ubuntu.com/3685-1/
- support@hackeronehttps://www.debian.org/security/2017/dsa-3966
- support@hackeronehttps://www.exploit-db.com/exploits/42611/
Patch Availability(7)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | ruby2.3-tcltk (2.3.1-2~16.04.10) @ xenial | 2026-05-22 | ubuntu |
| ubuntu | ruby1.9.3 (1.9.3.484-2ubuntu1.5) @ trusty | 2026-05-22 | ubuntu |
| ubuntu | ruby2.3 (2.3.3-1ubuntu1.3) @ artful | 2026-05-22 | ubuntu |
| redhat | rh-ruby23-ruby-0:2.3.6-67.el7 | 2018-03-26 | redhat |
| redhat | rh-ruby22-ruby-0:2.2.9-19.el7 | 2018-03-26 | redhat |
| redhat | ruby-0:2.0.0.648-33.el7_4 | 2018-02-28 | redhat |
| redhat | rh-ruby24-ruby-0:2.4.2-86.el7 | 2017-12-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rubygems-update | 0.8.10 ... 2.6.9 (139 versions) | 2.6.13 | — |
All Vendor Advisories
(7)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2017:3485MODERATE2017-09-01
RHSA-2017:3485 — Moderate
- Red HatRHSA-2018:0378MODERATE2017-09-01
RHSA-2018:0378 — Moderate
- Red HatRHSA-2018:0583MODERATE2017-09-01
RHSA-2018:0583 — Moderate
- Red HatRHSA-2018:0585MODERATE2017-09-01
RHSA-2018:0585 — Moderate
- UbuntuUSN-3439-1MEDIUM
Ruby vulnerabilities
- UbuntuUSN-3553-1MEDIUM
Ruby vulnerabilities
- UbuntuUSN-3685-1MEDIUM
Ruby vulnerabilities
Data Freshness Timeline
(refreshed 10× in last 7d / 32× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 06:09 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 18:41 UTCOSV refresh
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
Show 55 moreShow fewer
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 01:00 UTCOSV refresh
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 19:57 UTCOSV refresh
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 16:44 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 10:12 UTCEG score recompute
- 2026-05-22 10:12 UTCVendor advisory
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-42611✓ verifiedFirst seen Sep 4, 2017
RubyGems < 2.6.13 - Arbitrary File Overwrite
Open source ↗
Related CVEs(same vendor)
Frequently asked(5)
What is CVE-2017-0901?
When was CVE-2017-0901 disclosed?
Is CVE-2017-0901 actively exploited?
What is the CVSS score of CVE-2017-0901?
How do I remediate CVE-2017-0901?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2017-0901
Is Your Infrastructure Affected by CVE-2017-0901?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.