CVE-2020-26233 (CNNVD-202012-705)

HIGH
中文标题:
Git SQL注入漏洞
英文标题:
Remote Code Execution in Git Credential Manager Core
CVSS分数: 7.3
发布时间: 2020-12-08 19:55:15
漏洞类型: SQL注入
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

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类型:
CWE-706
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 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:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
7.3
CVSS向量: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
机密性
HIGH
完整性
HIGH
可用性
NONE
时间信息
发布时间:
2020-12-08 19:55:15
修改时间:
2024-08-04 15:56:03
创建时间:
2025-11-11 15:36:14
更新时间:
2025-11-11 15:56:33
利用信息
暂无可利用代码信息
数据源详情
数据源 记录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
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:56:33
vulnerability_type: 未提取 → SQL注入; cnnvd_id: 未提取 → CNNVD-202012-705; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> SQL注入
  • cnnvd_id: 未提取 -> CNNVD-202012-705
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:44:39
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']