CVE-2025-4949
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.eclipse.jgit » org.eclipse.jgit | < 5.13.4.202507202350-r>= 6.0.0.202110060947-m1, < 6.0.0.202111291000-r>= 6.1.0.202203080745-r, < 6.10.1.202505221210-r>= 7.0.0.202409031743-r, < 7.0.1.202505221510-r>= 7.1.0.202411261347-r, < 7.1.1.202505221757-r>= 7.2.0.202503040940-r, < 7.2.1.202505142326-r | 5.13.4.202507202350-r, 6.0.0.202111291000-r, 6.10.1.202505221210-r, 7.0.1.202505221510-r, 7.1.1.202505221757-r, 7.2.1.202505142326-r |
Blast radius
60% of the dependent artifacts (5,431) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 60,667 |
| 2 hops | 120,867 |
| 3 hops | 101,444 |
| 4 hops | 44,833 |
| 5 hops | 22,734 |
| 6 hops | 4,645 |
Most used dependents
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.codehaus.mojo » versions-maven-plugin5,371 usages
- com.diffplug.spotless » spotless-maven-plugin2,873 usages
- org.eluder.coveralls » coveralls-maven-plugin2,540 usages
- pl.project13.maven » git-commit-id-plugin1,959 usages
- org.apache.maven.plugins » maven-scm-plugin1,577 usages
- org.apache.maven.plugins » maven-scm-publish-plugin719 usages
- org.pitest » pitest-maven685 usages
- io.fabric8 » fabric8-maven-plugin676 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- external.atlassian.jgitflow » jgitflow-maven-plugin501 usages
- io.github.git-commit-id » git-commit-id-maven-plugin493 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.wildfly.core » wildfly-server477 usages
- io.kotest » kotest-assertions-core-jvm440 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-4949
- Packagehttps://github.com/eclipse-jgit/jgit
- Webhttps://gitlab.eclipse.org/security/cve-assignement/-/issues/64
- Webhttps://gitlab.eclipse.org/security/vulnerability-reports/-/issues/281
- Webhttps://projects.eclipse.org/projects/technology.jgit/releases/5.13.4
- Webhttps://projects.eclipse.org/projects/technology.jgit/releases/5.13.5
- Webhttps://projects.eclipse.org/projects/technology.jgit/releases/6.10.1
- Webhttps://projects.eclipse.org/projects/technology.jgit/releases/7.0.1
- Webhttps://projects.eclipse.org/projects/technology.jgit/releases/7.1.1
- Webhttps://projects.eclipse.org/projects/technology.jgit/releases/7.2.1
