Input validation error in Git - CVE-2014-9390

 

Input validation error in Git - CVE-2014-9390

Published: February 12, 2020 / Updated: July 29, 2020


Vulnerability identifier: #VU32461
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-9390
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

Git
Gentoo Linux
Fedora
git (Alpine package)
eclipse-egit
eclipse-jgit

How to mitigate CVE-2014-9390

Install update from vendor's website.

Git - addressed in versions 1.8.5.6, 1.9.5, 2.0.5, 2.1.4, 2.2.1
git (Alpine package) - update to 1.8.5.6-r0
eclipse-egit - update to 3.5.3-1.fc21
eclipse-jgit - update to 3.5.3-1.fc21

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins