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.
CVE-2020-36327
This high-severity CVE scores 8.8 under NVD CVSS v3. EPSS exploit probability: 6.3%, top 7% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EG Risk
- 47(Track)EG Risk 47/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation6% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 6%
- EPSS %ILE
- 93%
- KEV
- Not listed
Published
April 29, 2021
Last Modified
November 21, 2024
Advisory Details (6)
Auto-updated Aug 19, 2026RubyGems dependency confusion attack side of things - Closer to Code
https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/[SECURITY] Fedora 34 Update: ruby-3.0.2-149.fc34 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/Global vs block gem server source priority doesn't work as expected · Issue #3982 · ruby/rubygems · GitHub
https://github.com/rubygems/rubygems/issues/3982Redirecting…
https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.htmlBundler is Still Vulnerable to Dependency Confusion Attacks (CVE-2020-36327) | zofrex.com
https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/Security Update Guide - Microsoft Security Response Center
Security Update Guide - Microsoft Security Response Center. Patch available via Microsoft Security Update
https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105Vendor Advisories for CVE-2020-36327(12)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2022:0708Red Hat Product SecurityHigh
Red Hat Security Advisory: rh-ruby26-ruby security, bug fix, and enhancement update
- RHSA-2022:0582Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:2.6 security update
- RHSA-2022:0581Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:2.6 security update
- RHSA-2022:0546Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:2.5 security update
- RHSA-2022:0545Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:2.5 security update
- RHSA-2022:0544Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:2.6 security update
- RHSA-2022:0543Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:2.6 security update
- RHSA-2022:0547Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:2.5 security update
- +4 more
Patch Availability(12)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rh-ruby26-ruby-0:2.6.9-120.el7 | 2022-02-28 | redhat |
| redhat | ruby:2.6-8020020220201131207.4cda2c84 | 2022-02-21 | redhat |
| redhat | ruby:2.6-8010020220201152941.c27ad7f8 | 2022-02-21 | redhat |
| redhat | ruby:2.5-8040020220201123518.522a0ee4 | 2022-02-16 | redhat |
| redhat | ruby:2.6-8050020211215144356.c5368500 | 2022-02-16 | redhat |
| redhat | ruby:2.5-8010020220201125517.c27ad7f8 | 2022-02-16 | redhat |
| redhat | ruby:2.5-8050020220112131355.c5368500 | 2022-02-16 | redhat |
| redhat | ruby:2.5-8020020220201125131.4cda2c84 | 2022-02-16 | redhat |
| redhat | ruby:2.6-8040020220131135901.522a0ee4 | 2022-02-16 | redhat |
| redhat | rh-ruby30-ruby-0:3.0.2-148.el7 | 2021-10-25 | redhat |
| redhat | rh-ruby27-ruby-0:2.7.4-130.el7 | 2021-09-20 | redhat |
| redhat | ruby:2.7-8040020210728141159.522a0ee4 | 2021-08-05 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rubygems | 3.2.27-1 ... 4.0.15-2 (18 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rubygems | — | 3.3.5-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rubygems | — | 3.3.5-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rubygems | — | 3.3.5-1 | — |
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| bundler | 2.2.11 ... 2.2.17 (7 versions) | 2.2.18 | — |
Data Freshness Timeline
(refreshed 6× in last 7d / 23× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 136 total refreshes for this CVE.
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-17 19:22 UTCEPSS rescore
- 2026-09-16 14:04 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-13 16:43 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 09:32 UTCEPSS rescore
- 2026-09-08 21:56 UTCEPSS rescore
- 2026-09-07 15:57 UTCEPSS rescore
- 2026-09-06 18:13 UTCOSV refresh
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-05 15:24 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:03 UTCEPSS rescore
- 2026-09-02 14:08 UTCEPSS rescore
- 2026-09-01 03:32 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:18 UTCEPSS rescore
- 2026-08-27 14:21 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-25 13:45 UTCEPSS rescore
- 2026-08-21 23:45 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-20 04:15 UTCOSV refresh
- 2026-08-19 17:00 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-18 13:44 UTCEPSS rescore
- 2026-08-17 13:43 UTCEPSS rescore
- 2026-08-16 14:52 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:26 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-09 13:43 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:23 UTCEPSS rescore
- 2026-08-06 13:43 UTCEPSS rescore
- 2026-08-04 23:11 UTCOSV refresh
- 2026-08-04 15:06 UTCEPSS rescore
- 2026-08-02 02:23 UTCEPSS rescore
- 2026-08-01 04:12 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-28 15:33 UTCEPSS rescore
- 2026-07-26 14:51 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:14 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:53 UTCEG score recompute
- 2026-07-22 22:39 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 21:29 UTCOSV refresh
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:57 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 04:18 UTCOSV refresh
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
Frequently asked(5)
What is CVE-2020-36327?
When was CVE-2020-36327 disclosed?
Is CVE-2020-36327 actively exploited?
What is the CVSS score of CVE-2020-36327?
How do I remediate CVE-2020-36327?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2020-36327
Is Your Infrastructure Affected by CVE-2020-36327?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.