{"schema_version":"1.7.3","id":"GHSA-pm9x-4392-2c2p","published":"2022-05-13T01:38:26Z","modified":"2024-02-22T05:34:28.892562Z","aliases":["CVE-2017-0901"],"summary":"RubyGems may allow a maliciously crafted gem to overwrite files","details":"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.","affected":[{"package":{"name":"rubygems-update","ecosystem":"RubyGems","purl":"pkg:gem/rubygems-update"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.13"}]}],"versions":["0.8.10","0.8.11","0.8.3","0.8.4","0.8.5","0.8.6","0.8.8","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5","1.0.0","1.0.1","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4.0","1.4.1","1.4.2","1.5.0","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.8.0","1.8.1","1.8.10","1.8.11","1.8.12","1.8.13","1.8.14","1.8.15","1.8.16","1.8.17","1.8.18","1.8.19","1.8.2","1.8.20","1.8.21","1.8.22","1.8.23","1.8.23.2","1.8.24","1.8.25","1.8.26","1.8.27","1.8.28","1.8.29","1.8.3","1.8.30","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","2.0.0","2.0.0.preview2","2.0.0.preview2.1","2.0.0.preview2.2","2.0.0.rc.1","2.0.0.rc.2","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.0.rc.1","2.1.0.rc.2","2.1.1","2.1.10","2.1.11","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.0.rc.1","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1","2.6.10","2.6.11","2.6.12","2.6.2","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-pm9x-4392-2c2p/GHSA-pm9x-4392-2c2p.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-0901"},{"type":"WEB","url":"https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2"},{"type":"WEB","url":"https://hackerone.com/reports/243156"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:3485"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:0378"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:0583"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:0585"},{"type":"PACKAGE","url":"https://github.com/rubygems/rubygems"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201710-01"},{"type":"WEB","url":"https://usn.ubuntu.com/3553-1"},{"type":"WEB","url":"https://usn.ubuntu.com/3685-1"},{"type":"WEB","url":"https://web.archive.org/web/20170907215801/http://www.securitytracker.com/id/1039249"},{"type":"WEB","url":"https://web.archive.org/web/20170915000000*/http://www.securityfocus.com/bid/100580#:~:text=1%20snapshot-,16%3A05%3A26,-Note"},{"type":"WEB","url":"https://www.debian.org/security/2017/dsa-3966"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/42611"},{"type":"WEB","url":"http://blog.rubygems.org/2017/08/27/2.6.13-released.html"}],"database_specific":{"cwe_ids":["CWE-20","CWE-22"],"github_reviewed":true,"github_reviewed_at":"2023-03-09T00:38:35Z","nvd_published_at":"2017-08-31T20:29:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}