{"id":"CVE-2016-7954","aliases":["GHSA-jvgm-pfqv-887x"],"url":"https://o3.security/vulnerability/CVE-2016-7954","summary":"Bundler allows attacker to inject arbitrary code via secondary Gem source","details":"Bundler 1.x might allow remote attackers to inject arbitrary Ruby code into an application by leveraging a gem name collision on a secondary source.  NOTE: this might overlap CVE-2013-0334.","published":"2016-12-22T22:59:00.123Z","modified":"2026-10-24T10:49:24.983404114Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"RubyGems","name":"bundler","fixedVersion":"2.0.0"}],"fix":null,"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/04/5"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/04/7"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/05/3"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93423"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1381951"},{"type":"FIX","url":"https://github.com/bundler/bundler/issues/5051"},{"type":"FIX","url":"https://github.com/bundler/bundler/issues/5062"},{"type":"EVIDENCE","url":"http://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7954"},{"type":"WEB","url":"https://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability"},{"type":"PACKAGE","url":"https://github.com/rubygems/bundler"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bundler/CVE-2016-7954.yml"},{"type":"WEB","url":"https://web.archive.org/web/20170214030311/http://www.securityfocus.com/bid/93423"},{"type":"WEB","url":"http://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-24T10:49:24.983404114Z"}}