ADVISORIES

GitHub Advisory Database

GHSA-vrpq-qp53-qv56

Eclipse JGit XML External Entity (XXE) Vulnerability

Moderate CVE-2025-4949

Details

In Eclipse JGit versions 7.2.0.202503040940-r and older, the ManifestParser class used by the repo command and the AmazonS3 class used to implement the experimental amazons3 git transport protocol allowing to store git pack files in an Amazon S3 bucket, are vulnerable to XML External Entity (XXE) attacks when parsing XML files. This vulnerability can lead to information disclosure, denial of service, and other security issues.

Affected packages

EcosystemPackageAffected versions
Mavenorg.eclipse.jgit:org.eclipse.jgit
From 7.2.0.202503040940-r before 7.2.1.202505142326-r (fixed in 7.2.1.202505142326-r)
Mavenorg.eclipse.jgit:org.eclipse.jgit
From 7.1.0.202411261347-r before 7.1.1.202505221757-r (fixed in 7.1.1.202505221757-r)
Mavenorg.eclipse.jgit:org.eclipse.jgit
From 7.0.0.202409031743-r before 7.0.1.202505221510-r (fixed in 7.0.1.202505221510-r)
Mavenorg.eclipse.jgit:org.eclipse.jgit
From 6.1.0.202203080745-r before 6.10.1.202505221210-r (fixed in 6.10.1.202505221210-r)
Mavenorg.eclipse.jgit:org.eclipse.jgit
From 6.0.0.202110060947-m1 before 6.0.0.202111291000-r (fixed in 6.0.0.202111291000-r)
Mavenorg.eclipse.jgit:org.eclipse.jgit
All versions before 5.13.4.202507202350-r (fixed in 5.13.4.202507202350-r)

References