WaratekVRT Sign in

CVE-2023-4759 Eclipse JGit

Affected softwareEclipse JGit
Severity8.8 High CVSS 3.1 2 scores
Fixed in6.6.1.202309021850-r, 5.13.3.202401111512-r
WeaknessCWE-59
Published12 Sep 2023
Updated17 Jun 2026

Description

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.

CWE-178

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 3 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 2.2% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://git.eclipse.org/c/jgit/jgit.git/commit/?id=9072103f3b3cf64dd12ad2949836ab98f62dabf1 : a commit: the change itself

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H emo@eclipse.org Secondary published
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 NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2024 ↗ CPU 2024-Q4 Oracle Fusion Middleware / Centralized Thirdparty Jars (Eclipse JGit) (12.2.1.4.0)
Oracle Critical Patch Update July 2024 ↗ CPU 2024-Q3 Oracle Fusion Middleware / NextGen Installer (Eclipse JGit) (12.2.1.4.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Fusion Middleware Centralized Thirdparty Jars (Eclipse JGit) 12.2.1.4.0 12.2.1.4.0
Oracle Fusion Middleware NextGen Installer (Eclipse JGit) 12.2.1.4.0 12.2.1.4.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.eclipse.jgit:org.eclipse.jgit 6.0.0.202111291000-r 6.6.1.202309021850-r unbounded
org.eclipse.jgit:org.eclipse.jgit 0 5.13.3.202401111512-r unbounded

Products and versions

2 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd eclipse jgit generic < 5.13.3.99999 · ≥ 6.6.0 and < 6.6.0.99999 · ≥ 6.7.0 and < 6.7.0.99999
osv org.eclipse.jgit org.eclipse.jgit generic < 5.13.3.99999 · ≥ 6.0.0.99999 and < 6.6.1.99999

References

URLTags
https://git.eclipse.org/c/jgit/jgit.git/commit/?id=9072103f3b3cf64dd12ad2949836ab98f62dabf1 commit
https://github.com/eclipse-jgit/jgit/issues/30 WEB
https://git.eclipse.org/c/jgit/jgit.git PACKAGE
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/11 WEB
https://projects.eclipse.org/projects/technology.jgit/releases/5.13.3 WEB
https://projects.eclipse.org/projects/technology.jgit/releases/6.6.1 WEB

Timeline

Published2023-09-12By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.