Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-21237— Git LFS can execute a Git binary from the current directory on Windows

Quick assessment

Affected
git-lfs git-lfs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Git Lfs是Git Lfs团队的一个用于git项目中处理大文件的命令行工具。 Git LFS 存在安全漏洞,该漏洞源于允许攻击者执行任意代码。

CVSS 7.2 · High EPSS 0.44% · P37
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-21237

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Git LFS can execute a Git binary from the current directory on Windows
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
不可信的搜索路径
Source: CVE Program / CVE List V5
Vulnerability Title
Git Lfs 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Git Lfs是Git Lfs团队的一个用于git项目中处理大文件的命令行工具。 Git LFS 存在安全漏洞,该漏洞源于允许攻击者执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
git-lfs git-lfs < 2.13.2 -

II. Public POCs for CVE-2021-21237

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-21237

登录查看更多情报信息。

Patches & Fixes for CVE-2021-21237 (1)

Vendor Advisories for CVE-2021-21237 (2)

Other References for CVE-2021-21237 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-21237

No comments yet


Leave a comment