• 公告ID (KylinSec-SA-2024-3729)

摘要:

Git LFS is a command line extension for managing large files with Git. On Windows, if Git LFS operates on a malicious repository with a git.bat or git.exe file in the current directory, that program would be executed, permitting the attacker to execute arbitrary code. This does not affect Unix systems. This is the result of an incomplete fix for CVE-2020-27955. This issue occurs because on Windows, Go includes (and prefers) the current directory when the name of a command run does not contain a directory separator. Other than avoiding untrusted repositories or using a different operating system, there is no workaround. This is fixed in v2.13.2.

安全等级: Low

公告ID: KylinSec-SA-2024-3729

发布日期: 2024年9月18日

关联CVE: CVE-2021-21237  

  • 详细介绍

1. 漏洞描述

   

Git LFS is a command line extension for managing large files with Git. On Windows, if Git LFS operates on a malicious repository with a git.bat or git.exe file in the current directory, that program would be executed, permitting the attacker to execute arbitrary code. This does not affect Unix systems. This is the result of an incomplete fix for CVE-2020-27955. This issue occurs because on Windows, Go includes (and prefers) the current directory when the name of a command run does not contain a directory separator. Other than avoiding untrusted repositories or using a different operating system, there is no workaround. This is fixed in v2.13.2.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2021-21237 KY3.4-5 git Unaffected
CVE-2021-21237 KY3.5.2 git Unaffected
CVE-2021-21237 V6 git Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-3728 下一篇:KylinSec-SA-2024-3730