CVE-2020-26233
Summary
| CVE | CVE-2020-26233 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-12-08 20:15:00 UTC |
| Updated | 2021-02-18 14:39:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Attack of the clones 2: Git CLI remote code execution strikes back |
MISC |
blog.blazeinfosec.com |
Exploit, Third Party Advisory |
| Merged PR 585167: [Security] Enumerate the PATH environment variable … · microsoft/Git-Credential-Manager-Core@61c0388 · GitHub |
MISC |
github.com |
Patch, Third Party Advisory |
| Git recursive clone can result in remote code execution facilitated by GCM Core (affects Windows only) · Advisory · microsoft/Git-Credential-Manager-Core · GitHub |
CONFIRM |
github.com |
Third Party Advisory |
| git-clone(1) Manual Page |
MISC |
git-scm.com |
Third Party Advisory |
| Release GCM 2.0.289-beta · microsoft/Git-Credential-Manager-Core · GitHub |
MISC |
github.com |
Release Notes, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 375469 Git Credential Manager Core Untrusted Cloning of Repository Vulnerability
- 375543 Git Credential Manager Core Untrusted Cloning of Repository Vulnerability