CVE-2017-0901
publishedrubygems: Arbitrary file overwrite due to incorrect validation of specification name
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HackerOne | — | RubyGemsVersions before 2.6.13 | Affected | Not stated | hackerone |
| Alpine Linux | edge | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Debian | jessie | ruby2.1 | Advisory build | 2.1.5-2+deb8u4 | DLA-1421-1 |
| Oracle Linux | 7 | rubyaarch64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubysrc | Advisory build | 2.2.9-19.el6 | RHSA-2018:0583 |
| Alpine Linux | v3.10 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.11 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.12 | ruby | Fixed | 2.4.2-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.14 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.15 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.16 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.17 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.18 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.19 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.20 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.21 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.22 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.23 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.24 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.3 | ruby | Fixed | 2.2.8-r0 | Package fix record |
| Alpine Linux | v3.4 | ruby | Fixed | 2.3.5-r0 | Package fix record |
| Alpine Linux | v3.5 | ruby | Fixed | 2.3.5-r0 | Package fix record |
| Alpine Linux | v3.5 | ruby2.2 | Fixed | 2.2.8-r0 | Package fix record |
| Alpine Linux | v3.6 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.6 | ruby2.2 | Fixed | 2.2.8-r0 | Package fix record |
| Alpine Linux | v3.7 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.8 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Alpine Linux | v3.9 | ruby | Fixed | 2.4.2-r0 | Package fix record |
| Debian | stretch | ruby2.3 | Advisory build | 2.3.3-1+deb9u1 | DSA-3966-1 |
| Debian | wheezy | ruby1.9.1 | Advisory build | 1.9.3.194-8.1+deb7u6 | DLA-1114-1 |
| Debian | wheezy | rubygems | Advisory build | 1.8.24-1+deb7u1 | DLA-1112-1 |
| Oracle Linux | 7 | rubyx86_64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-develaarch64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-develx86_64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-docaarch64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-docx86_64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-irbaarch64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-irbx86_64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-libsaarch64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-libsx86_64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-tcltkaarch64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | ruby-tcltkx86_64 | Advisory build | 0:2.0.0.648-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-bigdecimalaarch64 | Advisory build | 0:1.2.0-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-bigdecimalx86_64 | Advisory build | 0:1.2.0-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-io-consoleaarch64 | Advisory build | 0:0.4.2-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-io-consolex86_64 | Advisory build | 0:0.4.2-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-jsonaarch64 | Advisory build | 0:1.7.7-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-jsonx86_64 | Advisory build | 0:1.7.7-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-minitestaarch64 | Advisory build | 0:4.3.2-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-minitestx86_64 | Advisory build | 0:4.3.2-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-psychaarch64 | Advisory build | 0:2.0.0-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-psychx86_64 | Advisory build | 0:2.0.0-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-rakeaarch64 | Advisory build | 0:0.9.6-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-rakex86_64 | Advisory build | 0:0.9.6-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-rdocaarch64 | Advisory build | 0:4.0.0-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygem-rdocx86_64 | Advisory build | 0:4.0.0-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygemsaarch64 | Advisory build | 0:2.0.14.1-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygemsx86_64 | Advisory build | 0:2.0.14.1-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygems-develaarch64 | Advisory build | 0:2.0.14.1-33.el7_4 | ELSA-2018-0378 |
| Oracle Linux | 7 | rubygems-develx86_64 | Advisory build | 0:2.0.14.1-33.el7_4 | ELSA-2018-0378 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubyx86_64 | Advisory build | 2.2.9-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-debuginfox86_64 | Advisory build | 2.2.9-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-develx86_64 | Advisory build | 2.2.9-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-docnoarch | Advisory build | 2.2.9-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-irbnoarch | Advisory build | 2.2.9-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-libsx86_64 | Advisory build | 2.2.9-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-ruby-tcltkx86_64 | Advisory build | 2.2.9-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-bigdecimalx86_64 | Advisory build | 1.2.6-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-io-consolex86_64 | Advisory build | 0.4.3-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-jsonx86_64 | Advisory build | 1.8.1.1-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-minitestnoarch | Advisory build | 5.4.3-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-power_assertnoarch | Advisory build | 0.2.2-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-psychx86_64 | Advisory build | 2.0.8.1-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-rakenoarch | Advisory build | 10.4.2-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-rdocnoarch | Advisory build | 4.2.0-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygem-test-unitnoarch | Advisory build | 3.0.8-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygemsx86_64 | Advisory build | 2.4.5.4-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby22-rubygems-develnoarch | Advisory build | 2.4.5.4-19.el6 | RHSA-2018:0583 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubysrc | Advisory build | 2.3.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubyx86_64 | Advisory build | 2.3.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-debuginfox86_64 | Advisory build | 2.3.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-develx86_64 | Advisory build | 2.3.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-docnoarch | Advisory build | 2.3.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-irbnoarch | Advisory build | 2.3.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-libsx86_64 | Advisory build | 2.3.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-ruby-tcltkx86_64 | Advisory build | 2.3.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-bigdecimalx86_64 | Advisory build | 1.2.8-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-did_you_meanx86_64 | Advisory build | 1.0.0-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-io-consolex86_64 | Advisory build | 0.4.5-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-jsonx86_64 | Advisory build | 1.8.3.1-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-minitestnoarch | Advisory build | 5.8.5-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-net-telnetx86_64 | Advisory build | 0.1.1-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-power_assertnoarch | Advisory build | 0.2.6-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-psychx86_64 | Advisory build | 2.1.0.1-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-rakenoarch | Advisory build | 10.4.2-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-rdocnoarch | Advisory build | 4.2.1-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygem-test-unitnoarch | Advisory build | 3.1.5-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygemsnoarch | Advisory build | 2.5.2.2-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby23-rubygems-develnoarch | Advisory build | 2.5.2.2-67.el6 | RHSA-2018:0585 |
| Red Hat Enterprise Linux | RHEL-6 | rh-ruby24-rubysrc | Advisory build | 2.4.2-86.el6 | RHSA-2017:3485 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HackerOne | RubyGems | Versions before 2.6.13 (affected) | hackerone · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'Ûª) (CWE-22)
References
15- http://blog.rubygems.org/2017/08/27/2.6.13-released.html
- 100580 http://www.securityfocus.com/bid/100580
- 1039249 http://www.securitytracker.com/id/1039249
- RHSA-2017:3485 https://access.redhat.com/errata/RHSA-2017:3485
- RHSA-2018:0378 https://access.redhat.com/errata/RHSA-2018:0378
- RHSA-2018:0583 https://access.redhat.com/errata/RHSA-2018:0583
- RHSA-2018:0585 https://access.redhat.com/errata/RHSA-2018:0585
- https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2
- https://hackerone.com/reports/243156
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- GLSA-201710-01 https://security.gentoo.org/glsa/201710-01
- USN-3553-1 https://usn.ubuntu.com/3553-1/
- USN-3685-1 https://usn.ubuntu.com/3685-1/
- DSA-3966 https://www.debian.org/security/2017/dsa-3966
- 42611 https://www.exploit-db.com/exploits/42611/
Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 79b7e8baffdd0f6fec2e857abe866408856447b79b15a3fd72f11c5ec46bfcf9
- Ingested
- 23 Sep 2026, 07:41:45 UTC
- Source record
- Official CVE record