#VU7889 OS command injection in Git


Published: 2020-03-18

Vulnerability identifier: #VU7889

Vulnerability risk: High

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

CVE-ID: CVE-2017-1000117

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: Yes

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

Vendor: Git

Description
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The weakness exists due to command injection flaw. A remote attacker (e.g., repository) can return a specially crafted 'ssh://' URL during 'clone' commands to execute arbitrary shell commands with privileges of the current user.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation
Update to version 2.14.1.

Vulnerable software versions

Git: 2.14, 2.13, 2.7.5 - 2.7.6, 2.12 - 2.12.3, 2.11 - 2.11.2, 2.10 - 2.10.3, 2.9 - 2.9.4, 2.8 - 2.8.5


External links
http://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.14.1.txt


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. However, a fully functional exploit for this vulnerability is available.


Latest bulletins with this vulnerability