CVE-2020-26233
CVSS V2 Low 3.6
CVSS V3 High 7.3
Description
Git Credential Manager Core (GCM Core) is a secure Git credential helper built on .NET Core that runs on Windows and macOS. In Git Credential Manager Core before version 2.0.289, when recursively cloning a Git repository on Windows with submodules, Git will first clone the top-level repository and then recursively clone all submodules by starting new Git processes from the top-level working directory. If a malicious git.exe executable is present in the top-level repository then this binary will be started by Git Credential Manager Core when attempting to read configuration, and not git.exe as found on the %PATH%. This only affects GCM Core on Windows, not macOS or Linux-based distributions. GCM Core version 2.0.289 contains the fix for this vulnerability, and is available from the project's GitHub releases page. GCM Core 2.0.289 is also bundled in the latest Git for Windows release; version 2.29.2(3). As a workaround, users should avoid recursively cloning untrusted repositories with the --recurse-submodules option.
Overview
- CVE ID
- CVE-2020-26233
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-12-08T20:15:15
- Last Modified Date
- 2021-02-18T14:39:02
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:microsoft:git_credential_manager_core:*:*:*:*:*:windows:*:* | 1 | OR | 2.0.289 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:H/Au:S/C:P/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- HIGH
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 3.6
- Severity
- LOW
- Exploitability Score
- 3.9
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- HIGH
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.3
- Base Severity
- HIGH
- Exploitability Score
- 1
- Impact Score
- 5.8
References
Reference URL | Reference Tags |
---|---|
https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76 | Third Party Advisory |
https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta | Release Notes Third Party Advisory |
https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt | Third Party Advisory |
https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76 | Patch Third Party Advisory |
https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/ | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-26233 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26233 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:22:39 | Added to TrackCVE | |||
2022-12-05 17:42:41 | 2020-12-08T20:15Z | 2020-12-08T20:15:15 | CVE Published Date | updated |
2022-12-05 17:42:41 | 2021-02-18T14:39:02 | CVE Modified Date | updated | |
2022-12-05 17:42:41 | Analyzed | Vulnerability Status | updated |