VDB
Sign up
HIGH8.8

GHSA-fp4w-jxhp-m23p

Dependency Confusion in Bundler

Quick fix

GHSA-fp4w-jxhp-m23p — bundler: upgrade to the fixed version with the command below.

bundle update bundler

Details

Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.17 sometimes chooses a dependency source based on the highest gem version number, which means that a rogue gem found at a public source may be chosen, even if the intended choice was a private gem that is a dependency of another private gem that is explicitly depended on by the application.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/bundler
Introduced in: 1.16.0Fixed in: 2.2.10
Fixbundle update bundler
RubyGems/bundler
Introduced in: 2.2.11Fixed in: 2.2.18
Fixbundle update bundler

References