CVE-2016-7954: bundler Improper Control of Generation of Code
Vulnerability summary
CVE-2016-7954 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in bundler. EPSS estimates a 8.82% chance of exploitation in the next 30 days, higher than 95.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 22-12-2016PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · RubygemsEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
8.82%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
Increase +0.34 pp
From 8.48% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (collectiveidea.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Bundler1 product
- bundler1.0.0 | 1.0.0:beta1 | 1.0.0:beta10 | 1.0.0:beta6 | 1.0.0:beta7 | 1.0.0:beta8 | 1.0.0:beta9 | 1.0.0:rc1 | 1.0.0:rc2 | 1.0.0:rc3 | 1.0.0:rc4 | 1.0.0:rc5 | 1.0.0:rc6 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.0.9 | 1.0.10 | 1.0.11 | 1.0.12 | 1.0.13 | 1.0.14 | 1.0.15 | 1.0.16 | 1.0.17 | 1.0.18 | 1.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0:pre | 1.10.0:pre1 | 1.10.0:pre2 | 1.10.0:rc | 1.10.1 | 1.10.2 | 1.10.3 | 1.10.4 | 1.10.5 | 1.10.6 | 1.11.0 | 1.11.0:pre1 | 1.11.0:pre2 | 1.11.1 | 1.11.2 | 1.12.0 | 1.12.0:pre1 | 1.12.0:pre2 | 1.12.0:rc | 1.12.0:rc2 | 1.12.0:rc3 | 1.12.0:rc4 | 1.12.1 | 1.12.2 | 1.12.3 | 1.12.4 | 1.12.5 | 1.12.6 | 1.13.0 | 1.13.0:pre1 | 1.13.0:rc1 | 1.13.0:rc2 | 1.13.1 | 1.13.2 | 1.13.3 | 1.13.4 | 1.13.5 | 1.13.6
RubyGems1 product
- bundler≥ 1.0.0, < 2.0.0
Ubuntu1 product
- bundlerAll versions (No fix recorded)
3 vendors · 3 products
References
16 links- collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability/X Refsource MISCExploitThird Party Advisory
- www.openwall.com/lists/oss-security/2016/10/05/3Mailing ListX Refsource MLISTThird Party AdvisoryREPORTWEB
- www.openwall.com/lists/oss-security/2016/10/04/7Mailing ListX Refsource MLISTThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2016/10/04/5Mailing ListX Refsource MLISTThird Party AdvisoryREPORTWEB
Show all 16 references
- github.com/rubygems/bundlerPACKAGE