Skip to content
Fencer Vulns
high 8.8

CVE-2017-17831 json

GitHub Git LFS Arbitrary command execution vulnerability

published 2017-12-21 8 y ago modified 2026-06-17 4 mo ago also GHSA-w4xh-w33p-4v29 , GO-2021-0073 , EUVD-2022-5497

cvss
8.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.7%
EPSS 3.7% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/git-lfs/git-lfs 2.1.1-0.20170519163204-f913f5f9c7c6, 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible
  • git_large_file_storage_project git_large_file_storage 2.1.1

Exploit prediction

3.68% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • blog.recurity-labs.com http://blog.recurity-labs.com/2017-08-10/scm-vulns referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/git-lfs/git-lfs
<2.1.1-0.20170519163204-f913f5f9c7c6
<2.1.1-0.20170519163204-f913f5f9c7c6+incompatible
2.1.1-0.20170519163204-f913f5f9c7c6
2.1.1-0.20170519163204-f913f5f9c7c6+incompatible

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.