CVE-2016-7954
CRITICAL9.8EPSS 2.8%Bundler allows attacker to inject arbitrary code via secondary Gem source
Published: 5/14/2022Modified: 4/14/2025
Also known as:GHSA-jvgm-pfqv-887x
Description
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.
Affected packages (1)
- RubyGems/bundler>= 1.0.0, < 2.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-7954
- PATCHhttps://github.com/rubygems/bundler
- WEBhttp://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1381951
- WEBhttps://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability
- WEBhttps://github.com/bundler/bundler/issues/5051
- WEBhttps://github.com/bundler/bundler/issues/5062
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/bundler/CVE-2016-7954.yml
- WEBhttps://web.archive.org/web/20170214030311/http://www.securityfocus.com/bid/93423
- WEBhttp://www.openwall.com/lists/oss-security/2016/10/04/5
- WEBhttp://www.openwall.com/lists/oss-security/2016/10/04/7
- WEBhttp://www.openwall.com/lists/oss-security/2016/10/05/3