{"api_version":"1","generated_at":"2026-04-23T02:24:54+00:00","cve":"CVE-2020-36327","urls":{"html":"https://cve.report/CVE-2020-36327","api":"https://cve.report/api/cve/CVE-2020-36327.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-36327","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-36327"},"summary":{"title":"CVE-2020-36327","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-04-29 03:15:00","updated_at":"2023-11-07 03:22:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://github.com/rubygems/rubygems/issues/3982","name":"https://github.com/rubygems/rubygems/issues/3982","refsource":"MISC","tags":[],"title":"Global vs block gem server source priority doesn't work as expected · Issue #3982 · rubygems/rubygems · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/","name":"FEDORA-2021-36cdab1f8d","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: ruby-3.0.2-149.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/","name":"https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/","refsource":"MISC","tags":[],"title":"RubyGems dependency confusion attack side of things - Running with Ruby","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html","name":"https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html","refsource":"MISC","tags":[],"title":"Bundler: A more secure bundler: We fixed our source priorities.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/","name":"https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/","refsource":"MISC","tags":[],"title":"Bundler is Still Vulnerable to Dependency Confusion Attacks (CVE⁠-⁠2020⁠-⁠36327) | zofrex.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/","name":"FEDORA-2021-36cdab1f8d","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: ruby-3.0.2-149.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105","name":"https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105","refsource":"MISC","tags":[],"title":"Security Update Guide - Microsoft Security Response Center","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36327","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36327","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"36327","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"bundler","cpe5":"bundler","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"36327","vulnerable":"1","versionEndIncluding":"2.2.16","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"bundler","cpe5":"bundler","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"36327","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"36327","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"package_manager_configurations","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-36327","qid":"159326","title":"Oracle Enterprise Linux Security Update for ruby:2.7 (ELSA-2021-3020)"},{"cve":"CVE-2020-36327","qid":"159635","title":"Oracle Enterprise Linux Security Update for ruby:2.6 (ELSA-2022-0543)"},{"cve":"CVE-2020-36327","qid":"159636","title":"Oracle Enterprise Linux Security Update for ruby:2.5 (ELSA-2022-0545)"},{"cve":"CVE-2020-36327","qid":"239536","title":"Red Hat Update for ruby:2.7 (RHSA-2021:3020)"},{"cve":"CVE-2020-36327","qid":"239644","title":"Red Hat Update for rh-ruby27-ruby (RHSA-2021:3559)"},{"cve":"CVE-2020-36327","qid":"239651","title":"Red Hat Update for rh-ruby27-ruby (RHSA-2021:3559)"},{"cve":"CVE-2020-36327","qid":"239736","title":"Red Hat Update for rh-ruby30-ruby (RHSA-2021:3982)"},{"cve":"CVE-2020-36327","qid":"240086","title":"Red Hat Update for ruby:2.5 (RHSA-2022:0545)"},{"cve":"CVE-2020-36327","qid":"240088","title":"Red Hat Update for ruby:2.5 (RHSA-2022:0547)"},{"cve":"CVE-2020-36327","qid":"240090","title":"Red Hat Update for ruby:2.6 (RHSA-2022:0544)"},{"cve":"CVE-2020-36327","qid":"240091","title":"Red Hat Update for ruby:2.5 (RHSA-2022:0546)"},{"cve":"CVE-2020-36327","qid":"240092","title":"Red Hat Update for ruby:2.6 (RHSA-2022:0543)"},{"cve":"CVE-2020-36327","qid":"240116","title":"Red Hat Update for rh-ruby26-ruby security (RHSA-2022:0708)"},{"cve":"CVE-2020-36327","qid":"240156","title":"Red Hat Update for ruby:2.6 (RHSA-2022:0582)"},{"cve":"CVE-2020-36327","qid":"240422","title":"Red Hat Update for ruby:2.5 (RHSA-2022:0548)"},{"cve":"CVE-2020-36327","qid":"281749","title":"Fedora Security Update for ruby (FEDORA-2021-36cdab1f8d)"},{"cve":"CVE-2020-36327","qid":"377094","title":"Alibaba Cloud Linux Security Update for ruby:2.7 (ALINUX3-SA-2021:0054)"},{"cve":"CVE-2020-36327","qid":"940383","title":"AlmaLinux Security Update for ruby:2.7 (ALSA-2021:3020)"},{"cve":"CVE-2020-36327","qid":"940455","title":"AlmaLinux Security Update for ruby:2.6 (ALSA-2022:0543)"},{"cve":"CVE-2020-36327","qid":"940456","title":"AlmaLinux Security Update for ruby:2.5 (ALSA-2022:0545)"},{"cve":"CVE-2020-36327","qid":"960315","title":"Rocky Linux Security Update for ruby:2.7 (RLSA-2021:3020)"},{"cve":"CVE-2020-36327","qid":"960771","title":"Rocky Linux Security Update for ruby:2.5 (RLSA-2022:0545)"},{"cve":"CVE-2020-36327","qid":"960814","title":"Rocky Linux Security Update for ruby:2.6 (RLSA-2022:0543)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-36327","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/rubygems/rubygems/issues/3982","refsource":"MISC","name":"https://github.com/rubygems/rubygems/issues/3982"},{"url":"https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105","refsource":"MISC","name":"https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105"},{"refsource":"MISC","name":"https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html","url":"https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html"},{"refsource":"MISC","name":"https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/","url":"https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/"},{"refsource":"MISC","name":"https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/","url":"https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/"},{"refsource":"FEDORA","name":"FEDORA-2021-36cdab1f8d","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/"}]}},"nvd":{"publishedDate":"2021-04-29 03:15:00","lastModifiedDate":"2023-11-07 03:22:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9.3},"severity":"HIGH","exploitabilityScore":8.6,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*","versionStartIncluding":"2.2.11","versionEndIncluding":"2.2.16","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*","versionStartIncluding":"1.16.0","versionEndExcluding":"2.2.10","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:package_manager_configurations:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"36327","Ordinal":"207194","Title":"CVE-2020-36327","CVE":"CVE-2020-36327","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"36327","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"36327","Ordinal":"2","NoteData":"2021-04-28","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"36327","Ordinal":"3","NoteData":"2021-07-28","Type":"Other","Title":"Modified"}]}}}