{"schema_version":"1.9.0","id":"CVE-2020-36327","published":"2021-04-29T03:15:08.710Z","modified":"2026-08-27T03:48:38.746281900Z","aliases":["GHSA-fp4w-jxhp-m23p"],"related":["ALSA-2021:3020","ALSA-2022:0543","ALSA-2022:0545","SUSE-SU-2025:1294-1","SUSE-SU-2026:1355-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ruby/rubygems","events":[{"introduced":"10f20fa33bc36371cbad00106487c6eb22616ec7"},{"fixed":"cc7c3337218989b3a6aad3910eb4f9c74cdd4f56"},{"introduced":"6ca677a0eb8f985235d67563fc0f978ef77d7bad"},{"last_affected":"3d7bfaff250cfee48b44985f696dc172a9cdc65d"}],"database_specific":{"cpe":"cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*","extracted_events":[{"introduced":"1.16.0"},{"fixed":"2.2.10"},{"introduced":"2.2.11"},{"last_affected":"2.2.16"}],"source":"CPE_RANGE"}}],"versions":["v3.2.16","bundler-v2.2.16","v3.2.15","bundler-v2.2.15","v3.2.14","bundler-v2.2.14","v3.2.13","bundler-v2.2.13","v3.2.12","bundler-v2.2.12","v3.2.11","bundler-v2.2.11"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36327.json"}}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/"},{"type":"ADVISORY","url":"https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html"},{"type":"ADVISORY","url":"https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/"},{"type":"REPORT","url":"https://github.com/rubygems/rubygems/issues/3982"},{"type":"FIX","url":"https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105"},{"type":"EVIDENCE","url":"https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"34"},{"last_affected":"34"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}