CVE-2020-36327
highpriority · track · 37EPSS 0.063 · 94 %ileDEEUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsall versionscert_bundDEcpe:/o:redhat:enterprise_linux:8.1_update_services_for_sap_solutions
- Red Hat Enterprise Linux 8.2 extended supportall versionscert_bundDEcpe:/o:redhat:enterprise_linux:8.2_extended_support
- Red Hat Enterprise Linux 8.4 extended supportall versionscert_bundDEcpe:/o:redhat:enterprise_linux:8.4_extended_support
- microsoft package manager configurationsall versionsnvdUScpe:2.3:a:microsoft:package_manager_configurations:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1808Red Hat Enterprise Linux: Schwachstelle ermöglicht CodeausführungDeutsch2022-02-16csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Red Hat Enterprise Linux ausnutzen, um beliebigen Programmcode auszuführen.
- GHSA-fp4w-jxhp-m23pDependency Confusion in Bundler2021-05-24ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (39)
External citations — patches, advisories, analysis.
- https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.htmlcnnvd
- https://github.com/rubygems/rubygems/issues/3982cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/cnnvd
- https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/cnnvd
- https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-36327cnnvd
- https://packetstormsecurity.com/files/163745/Red-Hat-Security-Advisory-2021-3020-01.htmlcnnvd
- https://packetstormsecurity.com/files/164211/Red-Hat-Security-Advisory-2021-3559-01.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan