#VU39969 Code Injection in bundler - CVE-2016-7954


| Updated: 2020-08-09

Vulnerability identifier: #VU39969

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2016-7954

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
bundler
Universal components / Libraries / Software for developers

Vendor: Bundler

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

bundler: 1.0.0 - 1.13.6


External links
https://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability/
https://www.openwall.com/lists/oss-security/2016/10/04/5
https://www.openwall.com/lists/oss-security/2016/10/04/7
https://www.openwall.com/lists/oss-security/2016/10/05/3
https://www.securityfocus.com/bid/93423
https://bugzilla.redhat.com/show_bug.cgi?id=1381951
https://github.com/bundler/bundler/issues/5051
https://github.com/bundler/bundler/issues/5062


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability