Vulnerabilities / CVE-2016-7954

critical

CVE-2016-7954

rubygem-bundler: Code execution via gem name collision in bundler

Published Modified CWE 94
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat4.9CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB. Rated lower by Red Hat (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
rubygems::GitHub Security Advisory RubyGemsbundler2.0.0
rubygems::Ruby Advisory Databasebundler>= 2.0.0
debian 10bundlerno fix listed
debian 7bundlerno fix listed
debian 8bundlerno fix listed
debian 9bundlerno fix listed
Red Hatrh-ruby22-rubygem-bundler, rh-ruby22-rubygem-bundler-doc, rh-ruby23-rubygem-bundler and 5 moreno fix listed
ubuntu 18.04-ESMbundlerno fix listed
Show all 15 entries from 8 sources
SourcePackageFixed in
rubygems::GitHub Security Advisory RubyGemsbundler2.0.0
rubygems::Ruby Advisory Databasebundler>= 2.0.0
debian 10bundlerno fix listed
debian 7bundlerno fix listed
debian 8bundlerno fix listed
debian 9bundlerno fix listed
Red Hatrh-ruby22-rubygem-bundlerno fix listed
Red Hatrh-ruby22-rubygem-bundler-docno fix listed
Red Hatrh-ruby23-rubygem-bundlerno fix listed
Red Hatrh-ruby23-rubygem-bundler-docno fix listed
Red Hatrh-ruby24-rubygem-bundlerno fix listed
Red Hatrh-ruby24-rubygem-bundler-docno fix listed
Red Hatrubygem-bundlerno fix listed
Red Hatrubygem-bundler-docno fix listed
ubuntu 18.04-ESMbundlerno fix listed

References

All 27 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.