#VU10850 Command injection in Git LFS - CVE-2017-17831
Published: March 6, 2018
Vulnerability identifier: #VU10850
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-17831
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Git LFS
Git LFS
Software vendor:
Git
Git
Description
The vulnerability allows a remote attacker to execute arbitrary commands on the target system.
The weakness exists due to command injection. A remote attacker can inject and 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.
The weakness exists due to command injection. A remote attacker can inject and 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.
Remediation
Update to version 2.1.1 or later.