Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Git Credential Manager Core | < 2.0.289 |
Related Weaknesses (CWE)
References
- https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-cExploitThird Party Advisory
- https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submoduThird Party Advisory
- https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3PatchThird Party Advisory
- https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-bRelease NotesThird Party Advisory
- https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSThird Party Advisory
- https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-cExploitThird Party Advisory
- https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submoduThird Party Advisory
- https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3PatchThird Party Advisory
- https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-bRelease NotesThird Party Advisory
- https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSThird Party Advisory
FAQ
What is CVE-2020-26233?
CVE-2020-26233 is a vulnerability with a CVSS score of 7.3 (HIGH). 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 clon...
How severe is CVE-2020-26233?
CVE-2020-26233 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-26233?
Check the references section above for vendor advisories and patch information. Affected products include: Microsoft Git Credential Manager Core.