Name | CVE-2020-36327 |
Description | Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.16 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. NOTE: it is not correct to use CVE-2021-24105 for every "Dependency Confusion" issue in every product. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
bundler (PTS) | jessie | 1.7.4-1 | vulnerable |
| stretch | 1.13.6-2 | vulnerable |
| buster | 1.17.3-3+deb10u1 | vulnerable |
rubygems (PTS) | bullseye | 3.2.5-2 | vulnerable |
| bookworm | 3.3.15-2 | fixed |
| sid, trixie | 3.4.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
bundler | source | (unstable) | (unfixed) | | | |
rubygems | source | (unstable) | 3.3.5-1 | | | |
Notes
[buster] - bundler <no-dsa> (Minor issue)
[stretch] - bundler <no-dsa> (Invasive change, hard to backport; chances of regression)
[bullseye] - rubygems <ignored> (Minor issue, too intrusive to backport)
https://github.com/rubygems/rubygems/issues/3982
https://github.com/rubygems/rubygems/pull/4609
[jessie] - bundler <no-dsa> (Minor issue)