SB2021011328 - Untrusted search path in git-lfs



SB2021011328 - Untrusted search path in git-lfs

Published: January 13, 2021 Updated: October 27, 2026

Security Bulletin ID SB2021011328
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Untrusted search path (CVE-ID: CVE-2021-21237)

CWE-ID: CWE-426 - Untrusted Search Path

CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to execute arbitrary code on Windows.

The vulnerability exists due to an untrusted search path in Git LFS when locating the Git executable on Windows. A remote attacker can place a malicious Git executable in the current directory and induce a user to invoke Git LFS from that directory to execute arbitrary code with the user's privileges.


Remediation

Install update from vendor's website.