CVE-2016-7954
rubygem-bundler: Code execution via gem name collision in bundler
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-94
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | bundler | >=1.0.0, <2.0.0 | 2.0.0 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
Red Hat 1 release · 1 package
wont fix 1
rh-ruby22-rubygem-bundler
| Release | Package | Fixed in |
|---|---|---|
| 7 | rh-ruby22-rubygem-bundler +7 | wont fix |
debian 2 releases · 1 package
affected 2
bundler
| Release | Package | Fixed in |
|---|---|---|
| 10 | bundler | affected |
| 9 | bundler | affected |
ubuntu 1 release · 1 package
affected 1
bundler
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | bundler | affected |
References
- collectiveidea.com http://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability
- collectiveidea.com http://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability/
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/10/04/5
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/10/04/7
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/10/05/3
- www.securityfocus.com http://www.securityfocus.com/bid/93423
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-7954
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1381951
- bundler.io https://bundler.io/blog/2014/08/14/bundler-may-install-gems-from-a-different-source-than-expected-cve-2013-0334.html
- collectiveidea.com https://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability
Show all 27 references
- github.com https://github.com/advisories/GHSA-jvgm-pfqv-887x
- github.com https://github.com/bundler/bundler/issues/5051
- github.com https://github.com/bundler/bundler/issues/5062
- github.com https://github.com/bundler/bundler/issues/5274
- github.com https://github.com/rubygems/bundler
- github.com https://github.com/rubygems/bundler/issues/3671
- github.com https://github.com/rubygems/bundler/issues/5051
- github.com https://github.com/rubygems/bundler/issues/5062
- github.com https://github.com/rubygems/bundler/issues/5274
- github.com https://github.com/rubygems/bundler/pull/3696
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bundler/CVE-2016-7954.yml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-7954
- seclists.org https://seclists.org/oss-sec/2016/q4/18
- seclists.org https://seclists.org/oss-sec/2016/q4/20
- seclists.org https://seclists.org/oss-sec/2016/q4/25
- web.archive.org https://web.archive.org/web/20170214030311/http://www.securityfocus.com/bid/93423
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-7954
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.