Eclipse JGit XML External Entity (XXE) Vulnerability

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.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2025-05-21 21:31:37 UTC
Updated
2026-01-13 22:47:15 UTC
GitHub reviewed
2025-05-22 18:49:33 UTC
NVD published
2025-05-21

EPSS Score

Score Percentile
0.20% 41.54%

CVSS Scores

Base score Version Severity Vector
6.8 4.0
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network.
Attack complexity (AC:H)
Exploitation depends on constrained or hard-to-reproduce conditions.
Attack requirements (AT:N)
No additional preconditions are required beyond normal reachability.
Privileges required (PR:L)
Low privileges are required.
User interaction (UI:A)
User interaction is required in an active way.
Vulnerable system confidentiality impact (VC:H)
High confidentiality impact on the vulnerable system.
Vulnerable system integrity impact (VI:N)
No integrity impact on the vulnerable system.
Vulnerable system availability impact (VA:N)
No availability impact on the vulnerable system.
Subsequent system confidentiality impact (SC:H)
High confidentiality impact on subsequent systems.
Subsequent system integrity impact (SI:N)
No integrity impact on subsequent systems.
Subsequent system availability impact (SA:N)
No availability impact on subsequent systems.

Identifiers

CWEs

CWE id Name
CWE-611 Improper Restriction of XML External Entity Reference

Credits

  • christian0101 (analyst)
  • mhoffrog (analyst)

Affected packages (6)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
maven org.eclipse.jgit:org.eclipse.jgit >= 7.2.0.202503040940-r, < 7.2.1.202505142326-r 7.2.1.202505142326-r
maven org.eclipse.jgit:org.eclipse.jgit >= 7.1.0.202411261347-r, < 7.1.1.202505221757-r 7.1.1.202505221757-r
maven org.eclipse.jgit:org.eclipse.jgit >= 7.0.0.202409031743-r, < 7.0.1.202505221510-r 7.0.1.202505221510-r
maven org.eclipse.jgit:org.eclipse.jgit >= 6.1.0.202203080745-r, < 6.10.1.202505221210-r 6.10.1.202505221210-r
maven org.eclipse.jgit:org.eclipse.jgit < 5.13.4.202507202350-r 5.13.4.202507202350-r
maven org.eclipse.jgit:org.eclipse.jgit >= 6.0.0.202110060947-m1, < 6.0.0.202111291000-r 6.0.0.202111291000-r

References

cvelogic Threat Intelligence