9.3
HIGH CVSS 2.0
CVE-2020-36327
Bundler Dependency Confusion Vulnerability
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.

INFO

Published Date :

April 29, 2021, 3:15 a.m.

Last Modified :

Nov. 21, 2024, 5:29 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2020-36327 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Microsoft package_manager_configurations
1 Bundler bundler
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Update Bundler and related packages to mitigate a dependency confusion vulnerability.
  • Update Bundler to the latest available version.
  • Update affected Linux packages.
  • Consult vendor advisories for specific package updates.
Public PoC/Exploit Available at Github

CVE-2020-36327 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-36327 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-36327 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

my old github page theme

Ruby HTML SCSS Sass

Updated: 1 year, 1 month ago
1 stars 3 fork 3 watcher
Born at : March 2, 2021, 4:53 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-36327 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-36327 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html
    Added Reference https://github.com/rubygems/rubygems/issues/3982
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/
    Added Reference https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/
    Added Reference https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105
    Added Reference https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/
  • Modified Analysis by [email protected]

    Apr. 05, 2022

    Action Type Old Value New Value
    Changed Reference Type https://github.com/rubygems/rubygems/issues/3982 Exploit, Third Party Advisory https://github.com/rubygems/rubygems/issues/3982 Exploit, Issue Tracking, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:microsoft:package_manager_configurations:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 30, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/ [No Types Assigned]
  • Reanalysis by [email protected]

    May. 17, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Removed CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Removed CPE Configuration OR *cpe:2.3:a:microsoft:package_manager_configurations:-:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    May. 12, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html No Types Assigned https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html Vendor Advisory
    Changed Reference Type https://github.com/rubygems/rubygems/issues/3982 No Types Assigned https://github.com/rubygems/rubygems/issues/3982 Exploit, Third Party Advisory
    Changed Reference Type https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/ No Types Assigned https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/ Third Party Advisory
    Changed Reference Type https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105 No Types Assigned https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105 Patch, Vendor Advisory
    Changed Reference Type https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/ No Types Assigned https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/ Exploit, Third Party Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:* versions from (including) 1.16.0 up to (excluding) 2.2.10 *cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:* versions from (including) 2.2.11 up to (including) 2.2.16
    Added CPE Configuration OR *cpe:2.3:a:microsoft:package_manager_configurations:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 30, 2021

    Action Type Old Value New Value
    Added Reference https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html [No Types Assigned]
    Added Reference https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/ [No Types Assigned]
    Added Reference https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 9.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

11.93 }} -0.15%

score

0.93479

percentile