Vulnerability · Published May 21, 2025 · Assigned by eclipse
CVE-2025-4949XXE vulnerability in Eclipse JGit
Medium 6.8
In plain English
A medium-severity XML external entity in Eclipse JGit from Eclipse JGit. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | jgit | no fix listed | DEBIAN-CVE-2025-4949 |
| Debian:13 | jgit | no fix listed | DEBIAN-CVE-2025-4949 |
| Debian:14 | jgit | no fix listed | DEBIAN-CVE-2025-4949 |
| Maven | org.eclipse.jgit:org.eclipse.jgit | 6.10.1.202505221210-r | GHSA-vrpq-qp53-qv56 |
| Maven | org.eclipse.jgit:org.eclipse.jgit | 6.0.0.202111291000-r | GHSA-vrpq-qp53-qv56 |
| Maven | org.eclipse.jgit:org.eclipse.jgit | 5.13.4.202507202350-r | GHSA-vrpq-qp53-qv56 |
| Maven | org.eclipse.jgit:org.eclipse.jgit | 7.2.1.202505142326-r | GHSA-vrpq-qp53-qv56 |
| Maven | org.eclipse.jgit:org.eclipse.jgit | 7.1.1.202505221757-r | GHSA-vrpq-qp53-qv56 |
| Maven | org.eclipse.jgit:org.eclipse.jgit | 7.0.1.202505221510-r | GHSA-vrpq-qp53-qv56 |
| Ubuntu:22.04:LTS | jgit | no fix listed | UBUNTU-CVE-2025-4949 |
| Ubuntu:24.04:LTS | jgit | no fix listed | UBUNTU-CVE-2025-4949 |
| Ubuntu:25.10 | jgit | no fix listed | UBUNTU-CVE-2025-4949 |
| Ubuntu:26.04:LTS | jgit | no fix listed | UBUNTU-CVE-2025-4949 |
| Ubuntu:26.10 | jgit | no fix listed | UBUNTU-CVE-2025-4949 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Eclipse JGit | Eclipse JGit | 7.2.0 – before 7.2.1.202505142326-r7.1.0 – before 7.1.1.202505221757-r7.0.0 – before 7.0.1.202505221510-r0 – before 5.13.4.202507202350-r6.0.0 – before 6.10.1.202505221210-r |
| Eclipse JGit | Eclipse JGit | 7.2.0 – before 7.2.1.202505142326-r7.1.0 – before 7.1.1.202505221757-r7.0.0 – before 7.0.1.202505221510-r0 – before 5.13.4.202507202350-r6.0.0 – before 6.10.1.202505221210-r |
Weakness: CWE-611, CWE-827 · Vector: 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/S:N/AU:Y/R:U/V:D/RE:L/U:Green
References
- https://projects.eclipse.org/projects/technology.jgit/releases/7.2.1 release-notes
- https://projects.eclipse.org/projects/technology.jgit/releases/7.1.1 release-notes
- https://projects.eclipse.org/projects/technology.jgit/releases/7.0.1 release-notes
- https://projects.eclipse.org/projects/technology.jgit/releases/6.10.1 release-notes
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/281 issue-tracking
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/64 issue-tracking
- https://projects.eclipse.org/projects/technology.jgit/releases/5.13.4 release-notes