{"id":"CVE-2017-0901","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-0901","generatedAt":"2026-10-29T01:46:11.863Z","title":"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.","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.","published":"2017-08-31T20:29:01.000Z","lastModified":"2026-06-17T00:58:30.000Z","status":"Modified","sourceIdentifier":"support@hackerone.com","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"cwe":["CWE-22","CWE-20"],"affected":["rubygems/rubygems","debian/debian linux","canonical/ubuntu linux","redhat/enterprise linux desktop","redhat/enterprise linux server","redhat/enterprise linux server aus","redhat/enterprise linux server eus","redhat/enterprise linux server tus","redhat/enterprise linux workstation"],"epss":{"score":0.29442,"percentile":0.98171,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.26296,"percentile":0.97957},{"date":"2026-09-22","score":0.29442,"percentile":0.98097}]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2017-09-04","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":42611,"kind":"exploit","title":"RubyGems < 2.6.13 - Arbitrary File Overwrite","url":"https://www.exploit-db.com/exploits/42611","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/42611.txt","file":"exploits/linux/local/42611.txt","published":"2017-09-04","added":"2017-09-04","updated":"2017-09-04","author":"mame","type":"local","platform":"linux","port":null,"verified":true,"codes":["CVE-2017-0901"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://hackerone.com/reports/243156"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 29.4%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://blog.rubygems.org/2017/08/27/2.6.13-released.html","tags":["Patch","Vendor Advisory"],"source":"support@hackerone.com"},{"url":"http://www.securityfocus.com/bid/100580","tags":["Third Party Advisory","VDB Entry"],"source":"support@hackerone.com"},{"url":"http://www.securitytracker.com/id/1039249","tags":["Third Party Advisory","VDB Entry"],"source":"support@hackerone.com"},{"url":"https://access.redhat.com/errata/RHSA-2017:3485","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://access.redhat.com/errata/RHSA-2018:0378","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://access.redhat.com/errata/RHSA-2018:0583","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://access.redhat.com/errata/RHSA-2018:0585","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2","tags":["Patch","Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://hackerone.com/reports/243156","tags":["Exploit","Patch","Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["Mailing List","Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://security.gentoo.org/glsa/201710-01","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://usn.ubuntu.com/3553-1/","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://usn.ubuntu.com/3685-1/","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://www.debian.org/security/2017/dsa-3966","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://www.exploit-db.com/exploits/42611/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"support@hackerone.com"},{"url":"http://blog.rubygems.org/2017/08/27/2.6.13-released.html","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/100580","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1039249","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2017:3485","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:0378","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:0583","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:0585","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://hackerone.com/reports/243156","tags":["Exploit","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/201710-01","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3553-1/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3685-1/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2017/dsa-3966","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/42611/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-0901","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}