#VU10850 Command injection in Git LFS


Published: 2018-03-06

Vulnerability identifier: #VU10850

Vulnerability risk: Low

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-17831

CWE-ID: CWE-77

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Git LFS
Client/Desktop applications / Software for system administration

Vendor: 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.

Mitigation
Update to version 2.1.1 or later.

Vulnerable software versions

Git LFS: 0.1.0 - 2.1.0


External links
http://github.com/git-lfs/git-lfs/releases/tag/v2.1.1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability