cve.bz

CVE-2020-36327

8.8 highExploit referenceEPSS 6.3%Fix available

High (8.8). EPSS 6.3% estimated probability of exploitation activity in the next 30 days. Fixed in bundler 2.2.10, 2.2.18.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
6.3% (unchanged from 6.3% a week ago; 6.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-36327 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-36327?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-36327?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-36327 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
bundler:bundlerfrom 1.16.0 before 2.2.10
bundler:bundlerfrom 2.2.11 through 2.2.16
fedoraproject:fedora34

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fp4w-jxhp-m23pRubyGemsbundler>=1.16.0 <2.2.102.2.10
GHSA-fp4w-jxhp-m23pRubyGemsbundler>=2.2.11 <2.2.182.2.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rubygems3.3.5-1DEBIAN-CVE-2020-36327
Ubuntu16.04:LTS, 20.04:LTS, Pro:18.04:LTSbundlerno fix listedUBUNTU-CVE-2020-36327
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 5 more0:2.7.4-137.module+el8.4.0+12025+f744ca41RHSA-2021:3020
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 4 more0:2.6.9-108.module+el8.5.0+13719+08a8ba32RHSA-2022:0543
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3653+beb38eb0RHSA-2022:0543
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.3.0+7192+4e3a532aRHSA-2021:3020
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.4.1-108.module+el8.5.0+13719+08a8ba32RHSA-2022:0543
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:2.0.0-137.module+el8.4.0+12025+f744ca41RHSA-2021:3020
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.5.0-1.module+el8.1.0+3653+beb38eb0RHSA-2022:0543
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.8.1-1.module+el8.3.0+7192+4e3a532aRHSA-2021:3020
Red Hatenterprise_linux:8::appstreamrubygem-bundler0:1.17.2-108.module+el8.5.0+13719+08a8ba32RHSA-2022:0543
Red Hatenterprise_linux:8::appstreamrubygem-bundler0:2.2.24-137.module+el8.4.0+12025+f744ca41RHSA-2021:3020
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-4.module+el8.5.0+13840+ec418553RHSA-2022:0545
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.3.0-108.module+el8.5.0+13719+08a8ba32RHSA-2022:0543
152 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 morerubygem-bundler2.2.34-150000.3.11.1SUSE-SU-2025:1294-1
SUSELinux Enterprise Module for Basesystem 15 SP7rubygem-bundler2.2.34-150700.21.3.1SUSE-SU-2026:1355-1
openSUSELeap 15.6rubygem-bundler2.2.34-150000.3.11.1SUSE-SU-2025:1294-1
AlmaLinux8ruby, ruby-doc, ruby-irb and 2 more2.5.9-107.module_el8.5.0+2625+ec418553ALSA-2022:0545
AlmaLinux8ruby, ruby-doc, ruby-libs and 1 more2.6.9-108.module_el8.5.0+250+ba22dbf7ALSA-2022:0543
AlmaLinux8ruby, ruby-doc, ruby-libs and 1 more2.6.9-108.module_el8.5.0+2623+08a8ba32ALSA-2022:0543
AlmaLinux8ruby, ruby-doc, ruby-libs and 2 more2.7.4-137.module_el8.4.0+2515+f744ca41ALSA-2021:3020
AlmaLinux8ruby, ruby-libs, ruby-devel2.7.4-137.module_el8.5.0+117+35d1289bALSA-2021:3020
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+259+8cec6917ALSA-2022:0543 ALSA-2022:0545
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2623+08a8ba32ALSA-2022:0543 ALSA-2022:0545
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2022:0545
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.4.0-1.module_el8.3.0+6147+d0dfc1e4ALSA-2021:3020
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.4.0-1.module_el8.4.0+2399+4e3a532aALSA-2021:3020
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.4.0-1.module_el8.5.0+118+1ab773e1ALSA-2021:3020
AlmaLinux8rubygem-bigdecimal1.3.4-107.module_el8.5.0+2625+ec418553ALSA-2022:0545
93 more for AlmaLinux in the JSON.
Rocky Linux8ruby0:2.5.9-107.module+el8.4.0+592+03ff458aRLSA-2022:0545
Rocky Linux8ruby0:2.6.9-108.module+el8.5.0+738+032c9c02RLSA-2022:0543
Rocky Linux8ruby0:2.7.4-137.module+el8.4.0+629+f8f0bf91RLSA-2021:3020
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.3.0+167+5c390590RLSA-2022:0543 RLSA-2022:0545
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.4.0+592+03ff458aRLSA-2022:0543 RLSA-2022:0545
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2022:0543 RLSA-2022:0545
Rocky Linux8rubygem-abrt0:0.4.0-1.module+el8.4.0+411+b946f28cRLSA-2021:3020
Rocky Linux8rubygem-abrt0:0.4.0-1.module+el8.4.0+594+11b6673aRLSA-2021:3020
Rocky Linux8rubygem-abrt0:0.4.0-1.module+el8.5.0+668+665814faRLSA-2021:3020
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.3.0+167+5c390590RLSA-2022:0545
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.4.0+592+03ff458aRLSA-2022:0545
Rocky Linux8rubygem-bson0:4.5.0-1.module+el8.4.0+446+80b53620RLSA-2022:0543
14 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Satellite does not ship RubyGem bundler, however, the product consumes it from the Red Hat Software Collections (RHSCL) repository.

Red Hat's mitigation

This issue only affects configurations where gem packages are installed from multiple sources and the source repositories are explicitly defined for at least some gems. Dependencies of those source-restricted gems may be installed form a different repository, even if the same repository provides those dependencies, which is inconsistent with the intended behaviour described in the Bundler documentation. There are multiple possible approaches to mitigate this issue - customers should evaluate which approaches are usable in their environments.

* Explicitly define source for all dependency gems in the Gemfile configuration. When a dependency of a source-restricted gem is also to be installed form the same source, list such dependency explicitly in the Gemfile along with the specific source.

* Avoid configurations with multiple source repositories. When using a private repository for non-public gems, use the same private repository to mirror any content required from any public gem repository, such as RubyGems.org. When preparing such mirror, ensure that no mirrored gems have names conflicting with names of the internal non-public gems.

* Reserve internal package names in public repositories. For any internal private gem, also reserve the name in any public gem repository used, such as RubyGems.org. This will prevent attackers from registering those names and providing their malicious gems with higher versions.

Additional information about affected configurations can be found in the following Red Hat Knowledgebase article:

https://access.redhat.com/articles/6206172

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:2.7-8040020210728141159.522a0ee4Fixed 2021-08-05RHSA-2021:3020
Red Hat Enterprise Linux 8ruby:2.6-8050020211215144356.c5368500Fixed 2022-02-16RHSA-2022:0543
Red Hat Enterprise Linux 8ruby:2.5-8050020220112131355.c5368500Fixed 2022-02-16RHSA-2022:0545
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsruby:2.5-8010020220201125517.c27ad7f8Fixed 2022-02-16RHSA-2022:0548
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsruby:2.6-8010020220201152941.c27ad7f8Fixed 2022-02-21RHSA-2022:0581
Red Hat Enterprise Linux 8.2 Extended Update Supportruby:2.5-8020020220201125131.4cda2c84Fixed 2022-02-16RHSA-2022:0547
Red Hat Enterprise Linux 8.2 Extended Update Supportruby:2.6-8020020220201131207.4cda2c84Fixed 2022-02-21RHSA-2022:0582
Red Hat Enterprise Linux 8.4 Extended Update Supportruby:2.6-8040020220131135901.522a0ee4Fixed 2022-02-16RHSA-2022:0544
Red Hat Enterprise Linux 8.4 Extended Update Supportruby:2.5-8040020220201123518.522a0ee4Fixed 2022-02-16RHSA-2022:0546
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby27-ruby-0:2.7.4-130.el7Fixed 2021-09-20RHSA-2021:3559
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby30-ruby-0:3.0.2-148.el7Fixed 2021-10-25RHSA-2021:3982
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby26-ruby-0:2.6.9-120.el7Fixed 2022-02-28RHSA-2022:0708
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-ruby27-ruby-0:2.7.4-130.el7Fixed 2021-09-20RHSA-2021:3559
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-ruby30-ruby-0:3.0.2-148.el7Fixed 2021-10-25RHSA-2021:3982
CloudForms Management Engine 5rubygem-bundlerWill not fix
Logging Subsystem for Red Hat OpenShiftrubyAffected
Red Hat 3scale API Management Platform 2rubygem-bundlerFix deferred
Red Hat Enterprise Linux 7rubygem-bundlerNot affected
Red Hat Enterprise Linux 9rubyNot affected
Red Hat Software Collectionsrh-ruby25-rubygem-bundlerWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-36327.

References

Check your stackJSON