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.
GENERAL.
Problem types
CWE-611 Improper Restriction of XML External Entity Reference
CWE-827 Improper Control of Document Type Definition
Product status
7.2.0 (osgi) before 7.2.1.202505142326-r
7.1.0 (osgi) before 7.1.1.202505221757-r
7.0.0 (osgi) before 7.0.1.202505221510-r
Any version before 5.13.4.202507202350-r
6.0.0 (osgi) before 6.10.1.202505221210-r
7.2.0 (osgi) before 7.2.1.202505142326-r
7.1.0 (osgi) before 7.1.1.202505221757-r
7.0.0 (osgi) before 7.0.1.202505221510-r
Any version before 5.13.4.202507202350-r
6.0.0 (osgi) before 6.10.1.202505221210-r
Credits
Simon Gerst (intrigus-lgtm) https://intrigus.org
References
gitlab.eclipse.org/...ity/vulnerability-reports/-/issues/281
projects.eclipse.org/projects/technology.jgit/releases/7.2.1
projects.eclipse.org/projects/technology.jgit/releases/7.1.1
projects.eclipse.org/projects/technology.jgit/releases/7.0.1
projects.eclipse.org/...ects/technology.jgit/releases/6.10.1
gitlab.eclipse.org/...ity/vulnerability-reports/-/issues/281
gitlab.eclipse.org/security/cve-assignement/-/issues/64
projects.eclipse.org/...ects/technology.jgit/releases/5.13.4