Patchfirst
CVE-2014-9390 Public exploit EPSS 75.6%

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…

Fix:upgrade mercurial and org.eclipse.jgit Versions ↓

Summary

Git and several related tools on Windows and OS X (including Mercurial, libgit2, EGit and JGit, plus Apple Xcode and mine) mishandle a crafted .git/config file inside a repository tree when the filesystem is case-insensitive. A remote Git server able to serve such a tree can cause the client to execute arbitrary commands, using an ignorable Unicode codepoint, a git~1/config short-name representation, or mixed case to get the file written in a way the client does not properly check.

Official description · CVE.org

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 all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 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.

Breakdown
25.6 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available 5 years before disclosure.

  1. Public exploit codeMetasploit5 yrs before
  2. Disclosedday 0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 2 ecosystems. No single main package: each of these ships the affected code.

  • PyPImercurial
    Affected: All versions before 3.2.3Upgrade to 3.2.3 or later
  • Mavenorg.eclipse.jgit:org.eclipse.jgit
    Affected: All versions before 3.5.3Upgrade to 3.5.3 or later

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

9 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close