CVEfocus › CVE database › CVE-2020-36327

CVE-2020-36327

EPSS 6.3% (higher than 94% of CVEs)Published 2021-04-29Updated 2026-10-08Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

78Fixed
4Fix pending
24Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04bundlerFix pendingUBUNTU-CVE-2020-36327
Ubuntu 18.04bundlerFix pendingUBUNTU-CVE-2020-36327
Ubuntu 16.04bundlerFix pendingUBUNTU-CVE-2020-36327
Ubuntu 14.04bundlerFix pending
Debian 14rubygemsFixed3.3.5-1DEBIAN-CVE-2020-36327
Debian 13rubygemsFixed3.3.5-1DEBIAN-CVE-2020-36327
Debian 12rubygemsFixed3.3.5-1DEBIAN-CVE-2020-36327
Red Hat Enterprise Linux 9rubyNot affected
Red Hat Enterprise Linux 9ruby-default-gemsNot affected
Red Hat Enterprise Linux 9ruby-develNot affected
Red Hat Enterprise Linux 9ruby-docNot affected
Red Hat Enterprise Linux 9ruby-libsNot affected
Red Hat Enterprise Linux 9rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 9rubygem-bundlerNot affected
Red Hat Enterprise Linux 9rubygem-io-consoleNot affected
Red Hat Enterprise Linux 9rubygem-irbNot affected
Red Hat Enterprise Linux 9rubygem-jsonNot affected
Red Hat Enterprise Linux 9rubygem-minitestNot affected
Red Hat Enterprise Linux 9rubygem-power_assertNot affected
Red Hat Enterprise Linux 9rubygem-psychNot affected
Red Hat Enterprise Linux 9rubygem-rakeNot affected
Red Hat Enterprise Linux 9rubygem-rbsNot affected
Red Hat Enterprise Linux 9rubygem-rdocNot affected
Red Hat Enterprise Linux 9rubygem-rexmlNot affected
Red Hat Enterprise Linux 9rubygem-rssNot affected
Red Hat Enterprise Linux 9rubygem-test-unitNot affected
Red Hat Enterprise Linux 9rubygem-typeprofNot affected
Red Hat Enterprise Linux 9rubygemsNot affected
Red Hat Enterprise Linux 9rubygems-develNot affected
Red Hat Enterprise Linux 8rubyFixed0:2.6.9-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8ruby-default-gemsFixed0:2.7.4-137.module+el8.4.0+12025+f744ca41RHSA-2021:3020
Red Hat Enterprise Linux 8ruby-develFixed0:2.7.4-137.module+el8.4.0+12025+f744ca41RHSA-2022:0543
Red Hat Enterprise Linux 8ruby-docFixed0:2.6.9-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8ruby-libsFixed0:2.6.9-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-abrtFixed0:0.4.0-1.module+el8.3.0+7192+4e3a532aRHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-abrt-docFixed0:0.4.0-1.module+el8.3.0+7192+4e3a532aRHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-bigdecimalFixed0:1.4.1-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-bsonFixed0:4.8.1-1.module+el8.3.0+7192+4e3a532aRHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-bson-docFixed0:4.5.0-1.module+el8.1.0+3653+beb38eb0RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-bundlerFixed0:1.16.1-4.module+el8.5.0+13840+ec418553RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-bundler-docFixed0:1.16.1-4.module+el8.5.0+13840+ec418553RHSA-2022:0545
Red Hat Enterprise Linux 8rubygem-did_you_meanFixed0:1.3.0-108.module+el8.5.0+13719+08a8ba32RHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-io-consoleFixed0:0.4.7-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-irbFixed0:1.0.0-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-jsonFixed0:2.1.0-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-minitestFixed0:5.11.3-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-mongoFixed0:2.11.3-1.module+el8.3.0+7192+4e3a532aRHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-mongo-docFixed0:2.11.3-1.module+el8.3.0+7192+4e3a532aRHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-mysql2Fixed0:0.5.2-1.module+el8.1.0+3653+beb38eb0RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-mysql2-docFixed0:0.5.2-1.module+el8.1.0+3653+beb38eb0RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-net-telnetFixed0:0.2.0-137.module+el8.4.0+12025+f744ca41RHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-opensslFixed0:2.1.2-137.module+el8.4.0+12025+f744ca41RHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-pgFixed0:1.2.3-1.module+el8.3.0+7192+4e3a532aRHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-pg-docFixed0:1.1.4-1.module+el8.1.0+3653+beb38eb0RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-power_assertFixed0:1.1.7-137.module+el8.4.0+12025+f744ca41RHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-psychFixed0:3.1.0-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-rakeFixed0:12.3.3-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-rdocFixed0:6.2.1.1-137.module+el8.4.0+12025+f744ca41RHSA-2022:0543
Red Hat Enterprise Linux 8rubygem-test-unitFixed0:3.2.9-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygem-xmlrpcFixed0:0.3.0-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygemsFixed0:3.0.3.1-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 8rubygems-develFixed0:3.0.3.1-108.module+el8.5.0+13719+08a8ba32RHSA-2021:3020
Red Hat Enterprise Linux 7rubygem-bundlerNot affected
Red Hat Enterprise Linux 7rubygem-bundler-docNot affected
AlmaLinux 8rubyFixed2.6.9-108.module_el8.5.0+2623+08a8ba32ALSA-2022:0543
AlmaLinux 8ruby-default-gemsFixed2.7.4-137.module_el8.4.0+2515+f744ca41ALSA-2021:3020
AlmaLinux 8ruby-develFixed2.6.9-108.module_el8.5.0+2623+08a8ba32ALSA-2021:3020
AlmaLinux 8ruby-docFixed2.6.9-108.module_el8.5.0+2623+08a8ba32ALSA-2021:3020
AlmaLinux 8ruby-irbFixed2.5.9-107.module_el8.5.0+2625+ec418553ALSA-2022:0545
AlmaLinux 8ruby-libsFixed2.6.9-108.module_el8.5.0+2623+08a8ba32ALSA-2021:3020
AlmaLinux 8rubygem-abrtFixed0.3.0-4.module_el8.5.0+2623+08a8ba32ALSA-2022:0543
AlmaLinux 8rubygem-abrt-docFixed0.3.0-4.module_el8.5.0+259+8cec6917ALSA-2022:0545
AlmaLinux 8rubygem-bigdecimalFixed1.4.1-108.module_el8.5.0+2623+08a8ba32ALSA-2022:0543
AlmaLinux 8rubygem-bsonFixed4.5.0-1.module_el8.5.0+250+ba22dbf7ALSA-2021:3020
AlmaLinux 8rubygem-bson-docFixed4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2022:0545
AlmaLinux 8rubygem-bundlerFixed1.17.2-108.module_el8.5.0+250+ba22dbf7ALSA-2021:3020
AlmaLinux 8rubygem-bundler-docFixed1.16.1-4.module_el8.5.0+259+8cec6917ALSA-2022:0545
AlmaLinux 8rubygem-did_you_meanFixed1.3.0-108.module_el8.5.0+250+ba22dbf7ALSA-2022:0543
AlmaLinux 8rubygem-io-consoleFixed0.4.7-108.module_el8.5.0+250+ba22dbf7ALSA-2022:0545
AlmaLinux 8rubygem-irbFixed1.0.0-108.module_el8.5.0+250+ba22dbf7ALSA-2021:3020
AlmaLinux 8rubygem-jsonFixed2.3.0-137.module_el8.4.0+2515+f744ca41ALSA-2022:0543
AlmaLinux 8rubygem-minitestFixed5.11.3-108.module_el8.5.0+250+ba22dbf7ALSA-2022:0543
AlmaLinux 8rubygem-mongoFixed2.11.3-1.module_el8.3.0+6147+d0dfc1e4ALSA-2022:0543
AlmaLinux 8rubygem-mongo-docFixed2.5.1-2.module_el8.5.0+2625+ec418553ALSA-2022:0545
AlmaLinux 8rubygem-mysql2Fixed0.5.3-1.module_el8.5.0+118+1ab773e1ALSA-2022:0545
AlmaLinux 8rubygem-mysql2-docFixed0.5.3-1.module_el8.5.0+118+1ab773e1ALSA-2021:3020
AlmaLinux 8rubygem-net-telnetFixed0.2.0-108.module_el8.5.0+250+ba22dbf7ALSA-2022:0543
AlmaLinux 8rubygem-opensslFixed2.1.2-137.module_el8.4.0+2515+f744ca41ALSA-2021:3020
AlmaLinux 8rubygem-pgFixed1.1.4-1.module_el8.5.0+250+ba22dbf7ALSA-2022:0545
AlmaLinux 8rubygem-pg-docFixed1.1.4-1.module_el8.5.0+250+ba22dbf7ALSA-2022:0543
AlmaLinux 8rubygem-power_assertFixed1.1.7-137.module_el8.4.0+2515+f744ca41ALSA-2022:0543
AlmaLinux 8rubygem-psychFixed3.1.0-137.module_el8.4.0+2515+f744ca41ALSA-2022:0545
AlmaLinux 8rubygem-rakeFixed13.0.1-137.module_el8.4.0+2515+f744ca41ALSA-2022:0543
AlmaLinux 8rubygem-rdocFixed6.0.1.1-107.module_el8.5.0+2625+ec418553ALSA-2021:3020
AlmaLinux 8rubygem-test-unitFixed3.2.9-108.module_el8.5.0+250+ba22dbf7ALSA-2022:0543
AlmaLinux 8rubygem-xmlrpcFixed0.3.0-107.module_el8.5.0+2625+ec418553ALSA-2022:0543
AlmaLinux 8rubygemsFixed2.7.6.3-107.module_el8.5.0+2625+ec418553ALSA-2022:0543
AlmaLinux 8rubygems-develFixed2.7.6.3-107.module_el8.5.0+2625+ec418553ALSA-2022:0543
Rocky Linux 8rubyFixed0:2.6.9-108.module+el8.5.0+738+032c9c02RLSA-2021:3020
Rocky Linux 8rubygem-abrtFixed0:0.3.0-4.module+el8.3.0+167+5c390590RLSA-2022:0545
Rocky Linux 8rubygem-bsonFixed0:4.8.1-1.module+el8.4.0+594+11b6673aRLSA-2021:3020
Rocky Linux 8rubygem-bundlerFixed0:1.16.1-4.module+el8.5.0+739+43897a5eRLSA-2022:0545
Rocky Linux 8rubygem-mongoFixed0:2.8.0-1.module+el8.4.0+593+8d7f9f0cRLSA-2022:0543
Rocky Linux 8rubygem-mysql2Fixed0:0.5.3-1.module+el8.5.0+668+665814faRLSA-2021:3020
Rocky Linux 8rubygem-pgFixed0:1.0.0-2.module+el8.4.0+592+03ff458aRLSA-2022:0543
RubyGems librarybundlerFixed2.2.10GHSA-fp4w-jxhp-m23p

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.