GitHub Advisoryadvisory · Go
GHSA-w4xh-w33p-4v29 GitHub Git LFS Arbitrary command execution vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2017-17831
- Ecosystem
- Go
- Packages
- github.com/git-lfs/git-lfs
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2023-02-08
Affected packages
• Go github.com/git-lfs/git-lfs: < 2.1.1-0.20170519163204-f913f5f9c7c6 → fixed in 2.1.1-0.20170519163204-f913f5f9c7c6
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.
Specific Go Packages Affected
github.com/git-lfs/git-lfs/lfsapi
Related
Alias · CVE (1)
- CVE-2017-17831 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… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-17831 advisory
- https://github.com/git-lfs/git-lfs/pull/2241 web
- https://github.com/git-lfs/git-lfs/pull/2242 web
- https://github.com/git-lfs/git-lfs/commit/f913f5f9c7c6d1301785fdf9884a2942d59cdf19 web
- https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html web
- https://github.com/git-lfs/git-lfs package
- https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1 web
- https://pkg.go.dev/vuln/GO-2021-0073 web
- https://web.archive.org/web/20200227131639/http://www.securityfocus.com/bid/102926 web
- http://blog.recurity-labs.com/2017-08-10/scm-vulns web
- http://www.securityfocus.com/bid/102926 web