Dependency Confusion in Bundler
High severity
GitHub Reviewed
Published
May 24, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Package
Affected versions
>= 1.16.0, < 2.2.10
>= 2.2.11, < 2.2.18
Patched versions
2.2.10
2.2.18
Description
Published by the National Vulnerability Database
Apr 29, 2021
Reviewed
May 20, 2021
Published to the GitHub Advisory Database
May 24, 2021
Last updated
Feb 1, 2023
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.
References