GO-2021-0073
Dashboard / Vulnerabilities / GO-2021-0073
GO-2021-0073
Published: 14 Apr 2021Last Modified: 3 Jun 2024
Aliases:
Summary: Arbitrary command execution in github.com/git-lfs/git-lfs
Details: Arbitrary command execution can be triggered by improperly sanitized SSH URLs in LFS configuration files. This can be triggered by cloning a malicious repository.
References: https://github.com/git-lfs/git-lfs/pull/2241, https://github.com/git-lfs/git-lfs/commit/f913f5f9c7c6d1301785fdf9884a2942d59cdf19, http://blog.recurity-labs.com/2017-08-10/scm-vulns, https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html
Affected packages
Package
Name: github.com/git-lfs/git-lfs
Purl: pkg:golang/github.com/git-lfs/git-lfs
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -2.1.1-0.20170519163204-f913f5f9c7c6+incompatible
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
