CVE-2021-21237
Summary
| CVE | CVE-2021-21237 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-01-15 18:15:00 UTC |
| Updated | 2021-01-29 22:18:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-426
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Git Large File Storage Project | Git Large File Storage | All | All | All | All |
| Application | Git Large File Storage Project | Git Large File Storage | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Merge pull request from GHSA-cx3w-xqmc-84g5 · git-lfs/git-lfs@fc66469 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| CVE - CVE-2020-27955 | MISC | cve.mitre.org | Third Party Advisory |
| Git LFS can execute a Git binary from the current directory on Windows · Advisory · git-lfs/git-lfs · GitHub | CONFIRM | github.com | Third Party Advisory |
| Release v2.13.2 · git-lfs/git-lfs · GitHub | MISC | github.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.