CVE-2017-0901
high
CVSS v3
7.5
CVSS v2
6.4
VIR risk
7.5
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.
Predictions
Exploit likelihood
83%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-0901
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-0901.html
Vendor advisory: support@hackerone.com — https://hackerone.com/reports/243156
Vendor advisory: support@hackerone.com — https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2
Vendor advisory: support@hackerone.com — http://blog.rubygems.org/2017/08/27/2.6.13-released.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| rhel | 7.0 | affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 16.04 | affected | |
| ubuntu | 17.10 | affected | |
| debian | bookworm | fixed | 3.2.0~rc.1-1 |
| debian | bullseye | fixed | 3.2.0~rc.1-1 |
| debian | forky | fixed | 3.2.0~rc.1-1 |
| debian | sid | fixed | 3.2.0~rc.1-1 |
| debian | trixie | fixed | 3.2.0~rc.1-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | rubygems-update | <>= 2.4.5.3 | >= 2.4.5.3 |
| RubyGems | rubygems-update | <2.6.13 | 2.6.13 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rubygems | rubygems | {"endIncluding":"2.6.12"} | |
References
- https://blog.rubygems.org/2017/08/27/2.6.13-released.html
- http://blog.rubygems.org/2017/08/27/2.6.13-released.html
- http://www.securityfocus.com/bid/100580
- http://www.securitytracker.com/id/1039249
- https://access.redhat.com/errata/RHSA-2017:3485
- https://access.redhat.com/errata/RHSA-2018:0378
- https://access.redhat.com/errata/RHSA-2018:0583
- https://access.redhat.com/errata/RHSA-2018:0585
- https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2
- https://hackerone.com/reports/243156
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://security.gentoo.org/glsa/201710-01
- https://usn.ubuntu.com/3553-1/
- https://usn.ubuntu.com/3685-1/
- https://www.debian.org/security/2017/dsa-3966
- https://www.exploit-db.com/exploits/42611/
- https://www.suse.com/security/cve/CVE-2017-0901.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-0901
- https://github.com/rubygems/rubygems
- https://usn.ubuntu.com/3553-1
- https://usn.ubuntu.com/3685-1
- https://web.archive.org/web/20170907215801/http://www.securitytracker.com/id/1039249
- https://web.archive.org/web/20170915000000*/http://www.securityfocus.com/bid/100580#:~:text=1%20snapshot-,16%3A05%3A26,-Note
- https://www.exploit-db.com/exploits/42611
- https://security-tracker.debian.org/tracker/CVE-2017-0901
CWEs
CWE-22 CWE-20
Verify integrity in audit chain (admin only). AS-IS.