All CVEs / Git Large File Storage Project
CVE-2017-17831Git Large File Storage Project Git Large File Storage
High 8.8 No auth needed
Follow: this CVE · Git Large File Storage Project · Git Large File Storage Project Git Large File Storage We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.0
- 8.8
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Dec 21, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Git Large File Storage.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/git-lfs/git-lfs |
< 2.1.1-0.20170519163204-f913f5f9c7c6 |
2.1.1-0.20170519163204-f913f5f9c7c6 |
go get github.com/git-lfs/git-lfs@v2.1.1-0.20170519163204-f913f5f9c7c6 |
| Go | github.com/git-lfs/git-lfs |
< 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible |
2.1.1-0.20170519163204-f913f5f9c7c6+incompatible |
go get github.com/git-lfs/git-lfs@v2.1.1-0.20170519163204-f913f5f9c7c6+incompatible |
Per OSV / GitHub Advisories (GHSA-w4xh-w33p-4v29, GO-2021-0073). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| git_large_file_storage_project | git_large_file_storage | < 2.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- blog.recurity-labs.com Exploit Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- confluence.atlassian.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory