CVE-2020-36327
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 9.3AV:N/AC:M/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 6.31%• Percentile: 93%
Affected Systems
- bundler•bundler
≥ 1.16.0, < 2.2.10 | ≥ 2.2.11, ≤ 2.2.16
- debian•rubygems
all | < 3.3.5-1 | < 3.3.5-1 | < 3.3.5-1
- fedoraproject•fedora
34
- microsoft•package_manager_configurations
na
- redhat•rubygem-bundler
< 0:1.16.1-4.module+el8.5.0+13840+ec418553 | < 0:1.16.1-4.module+el8.4.0+14083+f9ece6dd | < 0:1.16.1-4.module+el8.2.0+14084+4fedcad5 | < 0:1.16.1-4.module+el8.1.0+14085+cd0ba992
- redhat•rubygem-bundler-doc
< 0:1.16.1-4.module+el8.5.0+13840+ec418553 | < 0:1.16.1-4.module+el8.4.0+14083+f9ece6dd | < 0:1.16.1-4.module+el8.2.0+14084+4fedcad5 | < 0:1.16.1-4.module+el8.1.0+14085+cd0ba992
References (21)
- https://github.com/rubygems/rubygems/issues/3982
- https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105
- https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html
- https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/
- https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/
- https://access.redhat.com/errata/RHSA-2022:0545
- https://access.redhat.com/security/updates/classification/#important
- https://access.redhat.com/articles/6206172
- https://bugzilla.redhat.com/show_bug.cgi?id=1958999
- https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0545.json
- https://access.redhat.com/security/cve/CVE-2020-36327
- https://www.cve.org/CVERecord?id=CVE-2020-36327
- https://nvd.nist.gov/vuln/detail/CVE-2020-36327
- https://access.redhat.com/errata/RHSA-2022:0546
- https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0546.json
- https://access.redhat.com/errata/RHSA-2022:0547
- https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0547.json
- https://access.redhat.com/errata/RHSA-2022:0548
- https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0548.json
- https://security-tracker.debian.org/tracker/CVE-2020-36327