CVE-2020-26233 (CNNVD-202012-705)
中文标题:
Git SQL注入漏洞
英文标题:
Remote Code Execution in Git Credential Manager Core
漏洞描述
中文描述:
Git是一套免费、开源的分布式版本控制系统。 Git Credential Manager Core 存在SQL注入漏洞,如果顶级存储库中存在恶意的git.exe可执行文件,则该二进制文件将在尝试读取配置时由Git Credential Manager Core启动,而不是由%PATH%上的git.exe启动。 这仅影响Windows上的GCM Core。
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| microsoft | Git-Credential-Manager-Core | <= 2.0.280 | - | - |
cpe:2.3:a:microsoft:git-credential-manager-core:<=_2.0.280:*:*:*:*:*:*:*
|
| microsoft | git_credential_manager_core | * | - | - |
cpe:2.3:a:microsoft:git_credential_manager_core:*:*:*:*:*:windows:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (cna)
HIGHCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2020-26233 |
2025-11-11 15:20:31 | 2025-11-11 07:36:14 |
| NVD | nvd_CVE-2020-26233 |
2025-11-11 14:57:06 | 2025-11-11 07:44:39 |
| CNNVD | cnnvd_CNNVD-202012-705 |
2025-11-11 15:10:32 | 2025-11-11 07:56:33 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> SQL注入
- cnnvd_id: 未提取 -> CNNVD-202012-705
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']