cve.bz

CVE-2023-4759 eclipse jgit: Link Following

8.8 highEPSS 2.2%Fix available

High (8.8) in eclipse jgit. EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.eclipse.jgit:org.eclipse.jgit 5.13.3.202401111512-r, 6.6.1.202309021850-r.

On this page
Arbitrary File Overwrite in Eclipse JGit <= 6.6.0 In 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. This 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. The 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. Setting git configuration option core.symlinks = false before checking out avoids the problem. The 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/ . A backport is available in 5.13.3 starting from 5.13.3.202401111512-r. The JGit maintainers would like to thank RyotaK for finding and reporting this issue.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-07-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-178 Improper Handling of Case Sensitivity
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-4759 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4759?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4759?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4759 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Eclipse Foundation Eclipse JGitfrom 0.0.0 through 6.6.0.202305301015-r

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3p86-9955-h393Mavenorg.eclipse.jgit:org.eclipse.jgit>=6.0.0.202111291000-r <6.6.1.202309021850-r6.6.1.202309021850-r
GHSA-3p86-9955-h393Mavenorg.eclipse.jgit:org.eclipse.jgit<5.13.3.202401111512-r5.13.3.202401111512-r

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12jgitno fix listedDEBIAN-CVE-2023-4759
Debian13, 14jgit6.7.0-1DEBIAN-CVE-2023-4759
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morejgitno fix listedUBUNTU-CVE-2023-4759
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-eclipse-jgit0:5.13.2-1.SP1_redhat_00001.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-glassfish-jsf0:2.3.14-7.SP08_redhat_00001.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more0:5.3.33-2.Final_redhat_00001.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.16-1.Final_redhat_00001.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-cert-helper, eap7-insights-java-client, eap7-jboss-cert-helper-debuginfo0:1.1.1-1.redhat_00001.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-msc0:1.4.13-1.Final_redhat_00001.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-34.Final_redhat_00033.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-spi0:3.4.0-4.Final_redhat_00002.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-log4j2-jboss-logmanager0:1.1.2-1.Final_redhat_00002.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-protostream0:4.3.6-1.Final_redhat_00001.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-resteasy, eap7-resteasy-cdi, eap7-resteasy-jaxrs and 16 more0:3.15.9-1.Final_redhat_00001.1.el7eapRHSA-2024:0710
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.15-2.GA_redhat_00002.1.el7eapRHSA-2024:0710
48 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 8 morejsch0.2.9-150200.11.10.1SUSE-SU-2024:0057-1
openSUSELeap 15.4jgit, eclipse-jgit5.11.0-150200.3.15.2SUSE-SU-2024:0057-1
openSUSELeap 15.4, Leap 15.5jsch0.2.9-150200.11.10.1SUSE-SU-2024:0057-1
openSUSELeap 15.5eclipse-jgit5.11.0-150200.3.15.2SUSE-SU-2024:0057-1
openSUSETumbleweedeclipse-jgit5.11.0-9.1openSUSE-SU-2024:13312-1
openSUSETumbleweedjgit5.11.0-2.1openSUSE-SU-2025:15232-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
EAP 8.0.1jgitFixed 2024-03-06RHSA-2024:1194
Red Hat JBoss Enterprise Application Platformorg.eclipse.jgit/org.eclipse.jgit:5.13.2.SP1-redhat-00001Fixed 2024-02-06RHSA-2024:0714
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-eclipse-jgit-0:5.13.2-1.SP1_redhat_00001.1.el8eapFixed 2024-02-07RHSA-2024:0711
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-eclipse-jgit-0:5.13.2-1.SP1_redhat_00001.1.el9eapFixed 2024-02-07RHSA-2024:0712
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-insights-java-client-0:1.1.1-1.redhat_00001.1.el9eapFixed 2024-02-07RHSA-2024:0712
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-wildfly-elytron-0:1.15.21-1.Final_redhat_00001.1.el9eapFixed 2024-02-07RHSA-2024:0712
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-eclipse-jgit-0:5.13.2-1.SP1_redhat_00001.1.el7eapFixed 2024-02-07RHSA-2024:0710
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-insights-java-client-0:1.1.1-1.redhat_00001.1.el7eapFixed 2024-02-07RHSA-2024:0710
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-apache-sshd-0:2.12.0-1.redhat_00001.1.el8eapFixed 2024-03-06RHSA-2024:1192
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-eclipse-jgit-0:6.6.1.202309021850-1.r_redhat_00001.1.el8eapFixed 2024-03-06RHSA-2024:1192
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-log4j-0:2.19.0-2.redhat_00001.1.el8eapFixed 2024-03-06RHSA-2024:1192
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-lucene-solr-0:8.11.2-2.redhat_00001.1.el8eapFixed 2024-03-06RHSA-2024:1192
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-parsson-0:1.1.5-1.redhat_00001.1.el8eapFixed 2024-03-06RHSA-2024:1192
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-wildfly-0:8.0.1-3.GA_redhat_00002.1.el8eapFixed 2024-03-06RHSA-2024:1192
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9eap8-apache-sshd-0:2.12.0-1.redhat_00001.1.el9eapFixed 2024-03-06RHSA-2024:1193
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9eap8-eclipse-jgit-0:6.6.1.202309021850-1.r_redhat_00001.1.el9eapFixed 2024-03-06RHSA-2024:1193
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9eap8-log4j-0:2.19.0-2.redhat_00001.1.el9eapFixed 2024-03-06RHSA-2024:1193
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9eap8-lucene-solr-0:8.11.2-2.redhat_00001.1.el9eapFixed 2024-03-06RHSA-2024:1193
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9eap8-parsson-0:1.1.5-1.redhat_00001.1.el9eapFixed 2024-03-06RHSA-2024:1193
Red Hat JBoss Enterprise Application Platform Expansion PackjgitAffected
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4759.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON