Skip to content

Commit c208da4

Browse files
authored
Added 2016 gems/bundler/CVE-2016-7954.yml advisory (#643)
* Added a note that this vulnerability only affects `Gemfile`s with two or more `source`s.
1 parent 1a1a044 commit c208da4

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

gems/bundler/CVE-2016-7954.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
gem: bundler
3+
cve: 2016-7954
4+
ghsa: jvgm-pfqv-887x
5+
url: https://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability
6+
title: Allows an attacker to inject arbitrary code into your application
7+
via any secondary Gem source declared in your Gemfile
8+
date: 2016-10-06
9+
description: |
10+
Bundler 1.x might allow remote attackers to inject arbitrary Ruby
11+
code into an application by leveraging a Gem name collision on a
12+
secondary source.
13+
14+
Please note that this vulnerability only applies for Ruby
15+
projects using Bundler < 2.0 with Gemfiles having 2 or more
16+
"source" lines.
17+
18+
In other words, if the user's Gemfile does not use multiple
19+
sources, this vulnerability can be ignored.
20+
cvss_v2: 7.5
21+
cvss_v3: 9.8
22+
patched_versions:
23+
- ">= 2.0.0"
24+
related:
25+
cve:
26+
- 2013-0334
27+
url:
28+
- https://nvd.nist.gov/vuln/detail/CVE-2016-7954
29+
- https://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability
30+
- https://bundler.io/blog/2014/08/14/bundler-may-install-gems-from-a-different-source-than-expected-cve-2013-0334.html
31+
- https://github.com/advisories/GHSA-jvgm-pfqv-887x
32+
- https://seclists.org/oss-sec/2016/q4/25
33+
- https://seclists.org/oss-sec/2016/q4/18
34+
- https://seclists.org/oss-sec/2016/q4/20
35+
- https://github.com/rubygems/bundler/pull/3696
36+
- https://github.com/rubygems/bundler/issues/3671
37+
- https://github.com/rubygems/bundler/issues/5274
38+
- https://github.com/rubygems/bundler/issues/5051
39+
- https://github.com/rubygems/bundler/issues/5062
40+
notes: "NOTE: This might overlap CVE-2013-0334.; GHSA is unreviewed"

0 commit comments

Comments
 (0)