CVE-2014-9390: Org.eclipse.jgit JGit Improper Input Validation Vulnerability Vulnerability
CRITICALCVE-2014-9390 is a CRITICAL (CVSS 9.8) jgit improper input validation vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Org.eclipse.jgit libraries in the Maven ecosystem. The issue involves jgit improper input validation vulnerability. Remediation is available by upgrading affected packages to version 3.5.3, 3.2.3.
CVE-2014-9390 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2014-9390
To remediate this vulnerability, upgrade all affected Org.eclipse.jgit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>3.5.3</version>
</dependency>
pip install mercurial>=3.2.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.eclipse.jgit
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-9390, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.eclipse.jgit
Analyze the terminal output to locate any version of Org.eclipse.jgit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.5.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.eclipse.jgit command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Org.eclipse.jgit, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-9390 Affected Org.eclipse.jgit Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.eclipse.jgit:org.eclipse.jgit
|
Maven |
< 3.5.3
|
3.5.3
|
|
mercurial
|
PyPI |
< 3.2.3
|
3.2.3
|
References
Frequently Asked Questions
What is CVE-2014-9390?
Which Org.eclipse.jgit versions are affected?
What version fixes CVE-2014-9390?
Is org.eclipse.jgit affected?
Is mercurial affected?
What is the CVSS score of CVE-2014-9390?
What CWE is associated with CVE-2014-9390?
How can I check Maven dependencies for CVE-2014-9390?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6vvc-c2m3-cjf3",
"modified" : "2024-09-25T19:55:47Z",
"published" : "2022-05-17T19:57:29Z",
"aliases" : [ "CVE-2014-9390" ],
"summary" : "JGit Improper Input Validation vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jgit:org.eclipse.jgit"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.5.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "mercurial"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-9390"
}, {
"type" : "WEB",
"url" : "https://github.com/libgit2/libgit2/commit/928429c5c96a701bcbcafacb2421a82602b36915"
}, {
"type" : "WEB",
"url" : "https://github.com/blog/1938-git-client-vulnerability-announced"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2020-217.yaml"
}, {
"type" : "WEB",
"url" : "https://libgit2.org/security"
}, {
"type" : "WEB",
"url" : "https://news.ycombinator.com/item?id=8769667"
}, {
"type" : "WEB",
"url" : "https://projects.eclipse.org/projects/technology.jgit/releases/3.5.3"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20211204220400/https://securitytracker.com/id?1031404"
}, {
"type" : "WEB",
"url" : "http://article.gmane.org/gmane.linux.kernel/1853266"
}, {
"type" : "WEB",
"url" : "http://git-blame.blogspot.com/2014/12/git-1856-195-205-214-and-221-and.html"
}, {
"type" : "WEB",
"url" : "http://mercurial.selenic.com/wiki/WhatsNew"
}, {
"type" : "WEB",
"url" : "http://securitytracker.com/id?1031404"
}, {
"type" : "WEB",
"url" : "http://support.apple.com/kb/HT204147"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-26T23:53:52Z",
"nvd_published_at" : "2020-02-12T02:15:00Z"
}
}