CVE-2020-36327
Summary
| CVE | CVE-2020-36327 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-04-29 03:15:08 UTC |
| Updated | 2026-10-08 21:17:30 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS: 0.063070000 probability, percentile 0.934440000 (date 2026-10-10)
Problem Types: NVD-CWE-noinfo | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:N/AC:M/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Bundler | Bundler | All | All | All | All |
| Application | Bundler | Bundler | All | All | All | All |
| Operating System | Fedoraproject | Fedora | 34 | All | All | All |
| Application | Microsoft | Package Manager Configurations | - | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Bundler is Still Vulnerable to Dependency Confusion Attacks (CVE-2020-36327) | zofrex.com | af854a3a-2127-422b-91ae-364da2661108 | www.zofrex.com | Exploit, Third Party Advisory |
| Security Update Guide - Microsoft Security Response Center | af854a3a-2127-422b-91ae-364da2661108 | msrc.microsoft.com | Patch, Vendor Advisory |
| RubyGems dependency confusion attack side of things - Running with Ruby | af854a3a-2127-422b-91ae-364da2661108 | mensfeld.pl | Third Party Advisory |
| Global vs block gem server source priority doesn't work as expected · Issue #3982 · rubygems/rubygems · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Issue Tracking, Third Party Advisory |
| Bundler: A more secure bundler: We fixed our source priorities. | af854a3a-2127-422b-91ae-364da2661108 | bundler.io | Vendor Advisory |
| [SECURITY] Fedora 34 Update: ruby-3.0.2-149.fc34 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 34 Update: ruby-3.0.2-149.fc34 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159326 Oracle Enterprise Linux Security Update for ruby:2.7 (ELSA-2021-3020)
- 159635 Oracle Enterprise Linux Security Update for ruby:2.6 (ELSA-2022-0543)
- 159636 Oracle Enterprise Linux Security Update for ruby:2.5 (ELSA-2022-0545)
- 239536 Red Hat Update for ruby:2.7 (RHSA-2021:3020)
- 239644 Red Hat Update for rh-ruby27-ruby (RHSA-2021:3559)
- 239651 Red Hat Update for rh-ruby27-ruby (RHSA-2021:3559)
- 239736 Red Hat Update for rh-ruby30-ruby (RHSA-2021:3982)
- 240086 Red Hat Update for ruby:2.5 (RHSA-2022:0545)
- 240088 Red Hat Update for ruby:2.5 (RHSA-2022:0547)
- 240090 Red Hat Update for ruby:2.6 (RHSA-2022:0544)
- 240091 Red Hat Update for ruby:2.5 (RHSA-2022:0546)
- 240092 Red Hat Update for ruby:2.6 (RHSA-2022:0543)
- 240116 Red Hat Update for rh-ruby26-ruby security (RHSA-2022:0708)
- 240156 Red Hat Update for ruby:2.6 (RHSA-2022:0582)
- 240422 Red Hat Update for ruby:2.5 (RHSA-2022:0548)
- 281749 Fedora Security Update for ruby (FEDORA-2021-36cdab1f8d)
- 377094 Alibaba Cloud Linux Security Update for ruby:2.7 (ALINUX3-SA-2021:0054)
- 940383 AlmaLinux Security Update for ruby:2.7 (ALSA-2021:3020)
- 940455 AlmaLinux Security Update for ruby:2.6 (ALSA-2022:0543)
- 940456 AlmaLinux Security Update for ruby:2.5 (ALSA-2022:0545)
- 960315 Rocky Linux Security Update for ruby:2.7 (RLSA-2021:3020)
- 960771 Rocky Linux Security Update for ruby:2.5 (RLSA-2022:0545)
- 960814 Rocky Linux Security Update for ruby:2.6 (RLSA-2022:0543)