Description
GitHub Git LFS before 2.1.1 allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, located on a "url =" line in a .lfsconfig file within a repository.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/git-lfs/git-lfs | < 2.1.1-0.20170519163204-f913f5f9c7c6 | 2.1.1-0.20170519163204-f913f5f9c7c6 | GHSA-w4xh-w33p-4v29 |
| Go | github.com/git-lfs/git-lfs | < 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible | 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible | GO-2021-0073 |