Security mailing lists by PureSourceCode

CVE-2020-36327

HIGH 8.8CVSS 3.1

Dependency Confusion in Bundler

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.

Published
29 Apr 2021
Last modified
8 Oct 2026
Assigned by
cve@mitre.org
NVD status
Modified
Also known as
GHSA-fp4w-jxhp-m23p
Sources
NVDJSONOSV GHSA-fp4w-jxhp-m23pJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bundler bundler
cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*
>= 1.16.0, < 2.2.10 2.2.10
NVD bundler bundler
cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*
>= 2.2.11, <= 2.2.16
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD microsoft package_manager_configurations
cpe:2.3:a:microsoft:package_manager_configurations:-:*:*:*:*:*:*:*
(no version)
OSV RubyGems bundler >= 1.16.0, < 2.2.10 2.2.10
OSV RubyGems bundler >= 2.2.11, < 2.2.18 2.2.18

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Apr 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.