{"id":"GHSA-6vvc-c2m3-cjf3","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.","aliases":["CVE-2014-9390","PYSEC-2020-217"],"modified":"2024-09-25T20:01:24.028730Z","published":"2022-05-17T19:57:29Z","database_specific":{"github_reviewed":true,"nvd_published_at":"2020-02-12T02:15:00Z","severity":"CRITICAL","cwe_ids":["CWE-20"],"github_reviewed_at":"2023-01-26T23:53:52Z"},"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"}],"affected":[{"package":{"name":"org.eclipse.jgit:org.eclipse.jgit","ecosystem":"Maven","purl":"pkg:maven/org.eclipse.jgit/org.eclipse.jgit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.3"}]}],"versions":["1.2.0.201112221803-r","1.3.0.201202151440-r","2.0.0.201206130900-r","2.1.0.201209190230-r","2.2.0.201212191850-r","2.3.1.201302201838-r","3.0.0.201306101825-r","3.1.0.201310021548-r","3.2.0.201312181205-r","3.3.0.201403021825-r","3.3.1.201403241930-r","3.3.2.201404171909-r","3.4.0.201405051725-m7","3.4.0.201405211411-rc1","3.4.0.201405281120-rc2","3.4.0.201406041058-rc3","3.4.0.201406110918-r","3.4.1.201406201815-r","3.4.2.201412180340-r","3.5.0.201409071800-rc1","3.5.0.201409260305-r","3.5.1.201410131835-r","3.5.2.201411120430-r"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6vvc-c2m3-cjf3/GHSA-6vvc-c2m3-cjf3.json"}},{"package":{"name":"mercurial","ecosystem":"PyPI","purl":"pkg:pypi/mercurial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3"}]}],"versions":["0.8.1","0.9","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5","1.0","1.0.1","1.0.2","1.1","1.1.1","1.1.2","1.2","1.2.1","1.3","1.3.1","1.4","1.4.1","1.4.2","1.4.3","1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.7","1.7.1","1.7.2","1.7.3","1.7.5","1.8","1.8.1","1.8.2","1.8.3","1.8.4","1.9","1.9.1","1.9.2","1.9.3","2.0","2.0.1","2.0.2","2.1","2.1.1","2.1.2","2.2","2.2.2","2.3","2.4.1","2.5","2.5.1","2.5.2","2.6","2.6.1","2.6.2","2.6.3","2.7.0","2.7.1","2.7.2","2.8","2.8.1","2.8.2","2.9","2.9.1","3.0","3.0.1","3.1","3.1.1","3.1.2","3.2","3.2.1","3.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6vvc-c2m3-cjf3/GHSA-6vvc-c2m3-cjf3.json"}}],"schema_version":"1.7.3","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"}]}