CVE-2017-0901

high
Published 2017-08-29 · Modified 2024-02-22
CVSS v3
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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 Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-0901

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-0901.html

vendor Authored 2026-05-27

Vendor advisory: support@hackerone.com — https://hackerone.com/reports/243156

vendor Authored 2026-05-27

Vendor advisory: support@hackerone.com — https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2

vendor Authored 2026-05-27

Vendor advisory: support@hackerone.com — http://blog.rubygems.org/2017/08/27/2.6.13-released.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debian8.0affected
debian debian9.0affected
redhat rhel7.0affected
ubuntu ubuntu14.04affected
ubuntu ubuntu16.04affected
ubuntu ubuntu17.10affected
debian debianbookwormfixed3.2.0~rc.1-1
debian debianbullseyefixed3.2.0~rc.1-1
debian debianforkyfixed3.2.0~rc.1-1
debian debiansidfixed3.2.0~rc.1-1
debian debiantrixiefixed3.2.0~rc.1-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsrubygems-update<>= 2.4.5.3>= 2.4.5.3
ruby RubyGemsrubygems-update<2.6.132.6.13

Application impact

VendorProductVersionsFixed
rubygemsrubygems{"endIncluding":"2.6.12"}

References

CWEs

CWE-22 CWE-20

Verify integrity in audit chain (admin only). AS-IS.