Command execution in Git LFS



Published: 2017-05-19
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-17831
CWE-ID CWE-77
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Git LFS
Client/Desktop applications / Software for system administration

Vendor Git

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Command injection

EUVDB-ID: #VU10850

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 - Command injection

Exploit availability: No

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.



###SIDEBAR###