{"api_version":"1","generated_at":"2026-04-22T23:31:43+00:00","cve":"CVE-2023-4759","urls":{"html":"https://cve.report/CVE-2023-4759","api":"https://cve.report/api/cve/CVE-2023-4759.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-4759","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-4759"},"summary":{"title":"CVE-2023-4759","description":"Arbitrary File Overwrite in Eclipse JGit <= 6.6.0\n\nIn Eclipse JGit, all versions <= 6.6.0.202305301015-r, a symbolic link present in a specially crafted git repository can be used to write a file to locations outside the working tree when this repository is cloned with JGit to a case-insensitive filesystem, or when a checkout from a clone of such a repository is performed on a case-insensitive filesystem.\n\nThis can happen on checkout (DirCacheCheckout), merge (ResolveMerger via its WorkingTreeUpdater), pull (PullCommand using merge), and when applying a patch (PatchApplier). This can be exploited for remote code execution (RCE), for instance if the file written outside the working tree is a git filter that gets executed on a subsequent git command.\n\nThe issue occurs only on case-insensitive filesystems, like the default filesystems on Windows and macOS. The user performing the clone or checkout must have the rights to create symbolic links for the problem to occur, and symbolic links must be enabled in the git configuration.\n\nSetting git configuration option core.symlinks = false before checking out avoids the problem.\n\nThe issue was fixed in Eclipse JGit version 6.6.1.202309021850-r and 6.7.0.202309050840-r, available via  Maven Central https://repo1.maven.org/maven2/org/eclipse/jgit/  and  repo.eclipse.org https://repo.eclipse.org/content/repositories/jgit-releases/ .\n\n\nThe JGit maintainers would like to thank RyotaK for finding and reporting this issue.","state":"PUBLIC","assigner":"security@eclipse.org","published_at":"2023-09-12 10:15:00","updated_at":"2023-11-15 19:35:00"},"problem_types":["CWE-59"],"metrics":[],"references":[{"url":"https://projects.eclipse.org/projects/technology.jgit/releases/6.6.1","name":"https://projects.eclipse.org/projects/technology.jgit/releases/6.6.1","refsource":"MISC","tags":[],"title":"6.6.1 | projects.eclipse.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/11","name":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/11","refsource":"MISC","tags":[],"title":"Not Found","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://git.eclipse.org/c/jgit/jgit.git/commit/?id=9072103f3b3cf64dd12ad2949836ab98f62dabf1","name":"https://git.eclipse.org/c/jgit/jgit.git/commit/?id=9072103f3b3cf64dd12ad2949836ab98f62dabf1","refsource":"MISC","tags":[],"title":"Checkout: better directory handling - jgit.git - Java implementation of Git (technology.jgit)","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4759","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4759","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"4759","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"eclipse","cpe5":"jgit","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-4759","qid":"242821","title":"Red Hat Update for JBoss Enterprise Application Platform 7.4.1 (RHSA-2024:0712)"},{"cve":"CVE-2023-4759","qid":"242822","title":"Red Hat Update for JBoss Enterprise Application Platform 7.4.1 (RHSA-2024:0710)"},{"cve":"CVE-2023-4759","qid":"242823","title":"Red Hat Update for JBoss Enterprise Application Platform 7.4.1 (RHSA-2024:0711)"},{"cve":"CVE-2023-4759","qid":"243042","title":"Red Hat Update for JBoss Enterprise Application Platform 8.0.1 (RHSA-2024:1193)"},{"cve":"CVE-2023-4759","qid":"243044","title":"Red Hat Update for JBoss Enterprise Application Platform 8.0.1 (RHSA-2024:1192)"},{"cve":"CVE-2023-4759","qid":"755589","title":"SUSE Enterprise Linux Security Update for eclipse-jgit, jsch (SUSE-SU-2024:0057-1)"},{"cve":"CVE-2023-4759","qid":"995300","title":"Java (Maven) Security Update for org.eclipse.jgit:org.eclipse.jgit (GHSA-3p86-9955-h393)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-4759","ASSIGNER":"security@eclipse.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Arbitrary File Overwrite in Eclipse JGit <= 6.6.0\n\nIn Eclipse JGit, all versions <= 6.6.0.202305301015-r, a symbolic link present in a specially crafted git repository can be used to write a file to locations outside the working tree when this repository is cloned with JGit to a case-insensitive filesystem, or when a checkout from a clone of such a repository is performed on a case-insensitive filesystem.\n\nThis can happen on checkout (DirCacheCheckout), merge (ResolveMerger via its WorkingTreeUpdater), pull (PullCommand using merge), and when applying a patch (PatchApplier). This can be exploited for remote code execution (RCE), for instance if the file written outside the working tree is a git filter that gets executed on a subsequent git command.\n\nThe issue occurs only on case-insensitive filesystems, like the default filesystems on Windows and macOS. The user performing the clone or checkout must have the rights to create symbolic links for the problem to occur, and symbolic links must be enabled in the git configuration.\n\nSetting git configuration option core.symlinks = false before checking out avoids the problem.\n\nThe issue was fixed in Eclipse JGit version 6.6.1.202309021850-r and 6.7.0.202309050840-r, available via  Maven Central https://repo1.maven.org/maven2/org/eclipse/jgit/  and  repo.eclipse.org https://repo.eclipse.org/content/repositories/jgit-releases/ .\n\n\nThe JGit maintainers would like to thank RyotaK for finding and reporting this issue.\n\n\n\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","cweId":"CWE-59"}]},{"description":[{"lang":"eng","value":"CWE-178 Improper Handling of Case Sensitivity","cweId":"CWE-178"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Eclipse Foundation","product":{"product_data":[{"product_name":"Eclipse JGit","version":{"version_data":[{"version_affected":"<=","version_name":"0.0.0","version_value":"6.6.0.202305301015-r"}]}}]}}]}},"references":{"reference_data":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/11","refsource":"MISC","name":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/11"},{"url":"https://projects.eclipse.org/projects/technology.jgit/releases/6.6.1","refsource":"MISC","name":"https://projects.eclipse.org/projects/technology.jgit/releases/6.6.1"},{"url":"https://git.eclipse.org/c/jgit/jgit.git/commit/?id=9072103f3b3cf64dd12ad2949836ab98f62dabf1","refsource":"MISC","name":"https://git.eclipse.org/c/jgit/jgit.git/commit/?id=9072103f3b3cf64dd12ad2949836ab98f62dabf1"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"EXTERNAL"},"work_around":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Setting git configuration option <code>core.symlinks = false</code>&nbsp;before checking out avoids the problem.</p>"}],"value":"Setting git configuration option core.symlinks = false before checking out avoids the problem.\n\n"}],"credits":[{"lang":"en","value":"RyotaK"}],"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-09-12 10:15:00","lastModifiedDate":"2023-11-15 19:35:00","problem_types":["CWE-59"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7.0","versionEndExcluding":"6.7.0.202309050840","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.0.202305301015","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}