Vulnerability identifier: #VU32461
Vulnerability risk: High
CVSSv3.1: 9.1 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-20
Exploitation vector: Network
Exploit availability: Yes
Vulnerable software:
Git
Client/Desktop applications /
Software for system administration
Vendor: Git
Description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine; libgit2; Egit; and JGit allow remote Git servers to execute arbitrary commands via a tree containing a crafted .git/config file with (1) an ignorable Unicode codepoint, (2) a git~1/config representation, or (3) mixed case that is improperly handled on a case-insensitive filesystem.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Git: 1.8.5.1 - 1.8.5.5, 1.9.0 - 1.9.4, 2.0.0 - 2.0.4, 2.1.0 - 2.1.3, 2.2.0, 3.2.0
External links
http://article.gmane.org/gmane.linux.kernel/1853266
http://git-blame.blogspot.com/2014/12/git-1856-195-205-214-and-221-and.html
http://mercurial.selenic.com/wiki/WhatsNew
http://securitytracker.com/id?1031404
http://support.apple.com/kb/HT204147
http://github.com/blog/1938-git-client-vulnerability-announced
http://news.ycombinator.com/item?id=8769667
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.