CVE-2025-4949

XXE vulnerability in Eclipse JGit

State
Published
Severity
6.8 Medium
Published
May 21, 2025
Updated
Oct 14, 2025
Reserved
May 19, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.06.8 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/S:N/AU:Y/R:U/V:D/RE:L/U:Greeneclipse

Weaknesses

  • CWE-611 Improper Restriction of XML External Entity Reference
  • CWE-827 Improper Control of Document Type Definition

Affected Products

ProductVersions
Eclipse JGitEclipse JGit
  • 7.2.0 to before 7.2.1.202505142326-rAffected
  • 7.1.0 to before 7.1.1.202505221757-rAffected
  • 7.0.0 to before 7.0.1.202505221510-rAffected
  • before 5.13.4.202507202350-rAffected
  • 6.0.0 to before 6.10.1.202505221210-rAffected
Eclipse JGitEclipse JGit
  • 7.2.0 to before 7.2.1.202505142326-rAffected
  • 7.1.0 to before 7.1.1.202505221757-rAffected
  • 7.0.0 to before 7.0.1.202505221510-rAffected
  • before 5.13.4.202507202350-rAffected
  • 6.0.0 to before 6.10.1.202505221210-rAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.