CVE-2020-26233

Source
https://cve.org/CVERecord?id=CVE-2020-26233
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26233.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-26233
Related
  • GHSA-2gq7-ww4j-3m76
Published
2020-12-08T20:15:15.447Z
Modified
2026-03-15T21:57:41.421016Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/git-ecosystem/git-credential-manager

Affected ranges

Type
GIT
Repo
https://github.com/git-ecosystem/git-credential-manager
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/git-ecosystem/git-credential-manager
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/git-ecosystem/git-credential-manager
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/git-ecosystem/git-credential-manager
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*
v2.0.124-beta
v2.0.153-beta
v2.0.157-beta
v2.0.164-beta
v2.0.194-beta
v2.0.22-beta
v2.0.246-beta
v2.0.249-beta
v2.0.252-beta
v2.0.280-beta
v2.0.33-beta
v2.0.5-beta
v2.0.79-beta
v2.0.87-beta

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26233.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "2.0.289"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "2.0.289"
            }
        ]
    }
]