{"answers":{"affected":"5 open source packages ship an affected version, including mercurial and org.eclipse.jgit:org.eclipse.jgit. It affects 6 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-9390 exists.","fix":"Upgrade mercurial to 3.2.3 or later.","what":"CVE-2014-9390 is a critical command injection vulnerability in Apple Xcode, published on 12 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2014-9390 and fix it if it is affected.\n\nWhat it is: CVE-2014-9390 is a critical command injection vulnerability in Apple Xcode, published on 12 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-9390 exists.\n\nAffected packages and fixed versions:\n- mercurial (PyPI): affected all versions; fixed in 3.2.3\n- mercurial (PyPI): affected all versions; fixed in 3.2.3\n- mercurial (PyPI): affected all versions; fixed in 3.2.3\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected all versions; fixed in 3.5.3\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected all versions; fixed in 3.5.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2014-9390/ (Markdown: https://insights.sbomify.com/CVE-2014-9390/index.md)","id":"CVE-2014-9390","markdown":"https://insights.sbomify.com/CVE-2014-9390/index.md","name":"CVE-2014-9390","record":{"aliases":["DEBIAN-CVE-2014-9390","GHSA-6vvc-c2m3-cjf3","MGASA-2014-0546","MGASA-2015-0325","PYSEC-2020-217","UBUNTU-CVE-2014-9390","USN-2470-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Git client tools","requires_auth":"none","summary":"Remote Git servers can execute arbitrary commands on Windows and OS X clients via crafted .git/config files exploiting case-insensitive filesystems.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"xcode","vendor":"apple"},{"product":"egit","vendor":"eclipse"},{"product":"jgit","vendor":"eclipse"},{"product":"git","vendor":"git-scm"},{"product":"libgit2","vendor":"libgit2"},{"product":"mercurial","vendor":"mercurial"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"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.","ecosystems":["Maven","PyPI"],"exploits":{"exploitdb":0,"first_seen":"2014-12-18","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2014-12-18","kind":"metasploit","ref":"exploit/multi/http/git_client_command_exec","stars":null,"title":"Malicious Git and Mercurial HTTP Server For CVE-2014-9390"}],"tier":"weaponised"},"has_fix":true,"headline":"JGit Improper Input Validation vulnerability","id":"CVE-2014-9390","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"apple:xcode","products":["apple:xcode"],"type":"command_injection","year":"2014"},"n_packages":5,"n_references":9,"next":{"headline":"Cross-site request forgery in n/a","id":"CVE-2014-9391"},"packages":[{"ecosystem":"Maven","fixed":["3.5.3"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":null,"source":"GHSA-6vvc-c2m3-cjf3"},{"ecosystem":"Maven","fixed":["3.5.3"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":"pkg:maven/org.eclipse.jgit/org.eclipse.jgit","source":"GHSA-6vvc-c2m3-cjf3"},{"ecosystem":"PyPI","fixed":["3.2.3"],"introduced":["0"],"last_affected":[],"package":"mercurial","purl":null,"source":"GHSA-6vvc-c2m3-cjf3"},{"ecosystem":"PyPI","fixed":["3.2.3"],"introduced":["0"],"last_affected":[],"package":"mercurial","purl":"pkg:pypi/mercurial","source":"GHSA-6vvc-c2m3-cjf3"},{"ecosystem":"PyPI","fixed":["3.2.3"],"introduced":["0"],"last_affected":[],"package":"mercurial","purl":"pkg:pypi/mercurial","source":"PYSEC-2020-217"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2014-9389"},"products":["n/a"],"published":"2020-02-12","related":[{"cvss_score":8.1,"headline":"Git Link Following","id":"CVE-2025-48384","kev_date_added":"2025-08-25","published":"2025-07-08"},{"cvss_score":9.8,"headline":"Deserialization of untrusted data in FasterXML jackson-databind","id":"CVE-2019-14379","kev_date_added":null,"published":"2019-07-29"},{"cvss_score":9.8,"headline":"An issue was discovered in certain Apple products.","id":"CVE-2018-4164","kev_date_added":null,"published":"2018-04-03"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2016-0746","kev_date_added":null,"published":"2016-02-15"},{"cvss_score":9.3,"headline":"Missing authorization in n/a","id":"CVE-2004-2687","kev_date_added":null,"published":"2007-09-23"},{"cvss_score":8.8,"headline":"This issue was addressed by enforcing library validation on the affected binaries.","id":"CVE-2026-86948","kev_date_added":null,"published":"2026-10-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote Git servers can execute arbitrary commands on Windows and OS X clients via crafted .git/config files exploiting case-insensitive filesystems.","url":"https://insights.sbomify.com/CVE-2014-9390/"}