CVE-2017-0901

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N · source nvd
Exploit chance (EPSS)
29.442%
chance of exploitation in the next 30 days
higher than 98.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Weakness

Timeline

  1. 2017-08-31Published by the CNA20:00 UTC
  2. 2017-09-04First Exploit-DB entry (EDB-ID 42611)4 days after publication
  3. 2022-05-13GitHub advisory published (GHSA-pm9x-4392-2c2p)1716 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 42611locallinux2017-09-04yes

GitHub advisory GHSA-pm9x-4392-2c2p, affected packages:

PackageVulnerable versionsFixed in
RubyGems rubygems-updatebefore 2.6.132.6.13

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
rubygems rubygemsthrough 2.6.12no fix listednot listed
canonical ubuntu_linux14.04no fix listed16.04no fix listed17.10no fix listednot listednot listednot listed
debian debian_linux8.0no fix listed9.0no fix listednot listednot listed
redhat enterprise_linux_desktop7.0no fix listednot listed
redhat enterprise_linux_server7.0no fix listednot listed
redhat enterprise_linux_server_aus7.4no fix listed7.6no fix listednot listednot listed
redhat enterprise_linux_server_eus7.4no fix listed7.5no fix listed7.6no fix listednot listednot listednot listed
redhat enterprise_linux_server_tus7.4no fix listed7.6no fix listednot listednot listed
redhat enterprise_linux_workstation7.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources