CVE-2017-0901
mediumpriority · attend · 50EPSS 0.294 · 98 %ileexploit · functionalDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.4–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-42611RubyGems < 2.6.13 - Arbitrary File Overwritefunctional · exploit_db
affected products (26)
Products and version ranges known to be affected.
- redhat enterprise linux server aus= 7.4nvdUScpe:2.3:o:redhat:enterprise_linux_server_aus:*:*:*:*:*:*:*:*
- redhat enterprise linux server aus= 7.6nvdUScpe:2.3:o:redhat:enterprise_linux_server_aus:*:*:*:*:*:*:*:*
- redhat enterprise linux server eus= 7.4nvdUScpe:2.3:o:redhat:enterprise_linux_server_eus:*:*:*:*:*:*:*:*
- redhat enterprise linux server eus= 7.5nvdUScpe:2.3:o:redhat:enterprise_linux_server_eus:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1421Ruby: Mehrere SchwachstellenDeutsch2017-09-05csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Ruby ausnutzen, um falsche Informationen darzustellen, Systemdateien zu manipulieren oder beliebigen Programmcode zur Ausführung bringen.
- GHSA-pm9x-4392-2c2pRubyGems may allow a maliciously crafted gem to overwrite files2022-05-13ghsa · osvUS
RubyGems versions 2.6.12 and earlier fail to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (47)
External citations — patches, advisories, analysis.
- http://blog.rubygems.org/2017/08/27/2.6.13-released.htmlcnnvd
- http://www.securityfocus.com/bid/100580cnnvd
- http://www.securitytracker.com/id/1039249cnnvd
- https://access.redhat.com/errata/RHSA-2017:3485cnnvd
- https://access.redhat.com/errata/RHSA-2018:0378cnnvd
- https://access.redhat.com/errata/RHSA-2018:0583cnnvd
- https://access.redhat.com/errata/RHSA-2018:0585cnnvd
- https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan