Advisory

GHSA-fp4w-jxhp-m23p

Also known as: CVE-2020-36327

Summary

Dependency Confusion in 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-24 18:12 UTC
Modified
2024-12-05 05:42 UTC

Affected packages and fixes

bundler

RubyGems · All systems

Affected

  • introduced 1.16.0, fixed 2.2.10 (ecosystem)

Fixed versions

2.2.10

Fix

The export has no generic command for this ecosystem.

bundler

RubyGems · All systems

Affected

  • introduced 2.2.11, fixed 2.2.18 (ecosystem)

Fixed versions

2.2.18

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences