CVE-2017-17831

HIGH

Git LFS < 2.1.1 - Remote Code Execution via SSH URL Hostname

Title source: llm
STIX 2.1

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.

References (5)

Core 5
Core References
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1
Exploit, Third Party Advisory x_refsource_misc
http://blog.recurity-labs.com/2017-08-10/scm-vulns
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/102926
Patch, Third Party Advisory x_refsource_misc
https://github.com/git-lfs/git-lfs/pull/2242

Scores

CVSS v3 8.8
EPSS 0.0368
EPSS Percentile 88.3%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (2)
git-lfs/git-lfs 0 - 2.1.1-0.20170519163204-f913f5f9c7c6Go
git_large_file_storage_project/git_large_file_storage < 2.1.1
Published Dec 21, 2017
Tracked Since Feb 18, 2026