7.8

CVE-2021-21237: git_large_file_storage_project git_large_file_storage Untrusted Search Path

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2021-21237GHSA-cx3w-xqmc-84g5BIT-git-lfs-2021-21237
Published 15-01-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21237 is a high (CVSS 7.8) Untrusted Search Path vulnerability in git_large_file_storage_project git_large_file_storage. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.7% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.45%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 15-01-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

+0.01 pp

From 0.44% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Git_large_file_storage_project1 product
Git-lfs1 product
Github.com/git-lfs1 product
  • git-lfs< 2.13.2 | < 1.5.1-0.20210113180018-fc664697ed2c
Ubuntu1 product
  • git-lfsAll versions (No fix recorded)

4 vendors · 4 products

References

9 links