Security mailing lists by PureSourceCode

CVE-2017-0901

HIGH 7.5CVSS 3.0

RubyGems may allow a maliciously crafted gem to overwrite files

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.

Published
31 Aug 2017
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-20CWE-22
Also known as
GHSA-pm9x-4392-2c2p
Sources
NVDJSONOSV GHSA-pm9x-4392-2c2pJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubygems rubygems
cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*
<= 2.6.12
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
= 17.10
NVD redhat enterprise_linux_desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_server
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_server_aus
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
= 7.4
NVD redhat enterprise_linux_server_aus
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
= 7.6
NVD redhat enterprise_linux_server_eus
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
= 7.4
NVD redhat enterprise_linux_server_eus
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
= 7.5
NVD redhat enterprise_linux_server_eus
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
= 7.6
NVD redhat enterprise_linux_server_tus
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:*
= 7.4
NVD redhat enterprise_linux_server_tus
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
= 7.6
NVD redhat enterprise_linux_workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
= 7.0
OSV RubyGems rubygems-update < 2.6.13 2.6.13

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 31 Aug 2017)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.