{"id":"UBUNTU-CVE-2020-36327","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.","modified":"2025-10-24T04:48:59Z","published":"2021-04-29T03:15:00Z","upstream":["CVE-2020-36327"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-36327"},{"type":"REPORT","url":"https://github.com/rubygems/rubygems/issues/3982"},{"type":"REPORT","url":"https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-36327"}],"affected":[{"package":{"name":"bundler","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/bundler@1.11.2-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.6-1","1.10.6-2","1.11.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.11.2-1","binary_name":"bundler"},{"binary_version":"1.11.2-1","binary_name":"ruby-bundler"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36327.json"}},{"package":{"name":"bundler","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/bundler@1.16.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.1-1","1.16.1-1","1.16.1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.16.1-1ubuntu0.1~esm1","binary_name":"bundler"},{"binary_version":"1.16.1-1ubuntu0.1~esm1","binary_name":"ruby-bundler"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36327.json"}},{"package":{"name":"bundler","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/bundler@2.1.4-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.3-3","2.1.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.4-1","binary_name":"bundler"},{"binary_version":"2.1.4-1","binary_name":"ruby-bundler"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36327.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}