CVE-2016-7954
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.
What to do
Fixed builds are available from RubyGems: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | bundler | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | bundler | Fix pending | UBUNTU-CVE-2016-7954 | |
| Ubuntu 16.04 | bundler | Fix pending | UBUNTU-CVE-2016-7954 | |
| Ubuntu 14.04 | bundler | Fix pending | ||
| Red Hat Enterprise Linux 7 | rubygem-bundler | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | rubygem-bundler-doc | Will not fix Will not fix | ||
| RubyGems library | bundler | Fixed | 2.0.0 | GHSA-jvgm-pfqv-887x |
References
- http://www.securityfocus.com/bid/93423
- https://github.com/bundler/bundler/issues/5062
- http://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability/
- https://bugzilla.redhat.com/show_bug.cgi?id=1381951
- http://www.openwall.com/lists/oss-security/2016/10/05/3
- http://www.openwall.com/lists/oss-security/2016/10/04/7
- http://www.openwall.com/lists/oss-security/2016/10/04/5
- https://github.com/bundler/bundler/issues/5051
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.