Security mailing lists by PureSourceCode

CVE-2017-17831

HIGH 8.8CVSS 3.0

GitHub Git LFS Arbitrary command execution vulnerability

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.

Published
21 Dec 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-w4xh-w33p-4v29GO-2021-0073
Sources
NVDJSONOSV GHSA-w4xh-w33p-4v29JSONOSV GO-2021-0073JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD git_large_file_storage_project git_large_file_storage
cpe:2.3:a:git_large_file_storage_project:git_large_file_storage:*:*:*:*:*:*:*:*
< 2.1.1 2.1.1
OSV Go github.com/git-lfs/git-lfs < 2.1.1-0.20170519163204-f913f5f9c7c6 2.1.1-0.20170519163204-f913f5f9c7c6
OSV Go github.com/git-lfs/git-lfs < 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 21 Dec 2017)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.