CVE-2025-4949

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductEclipse Jgit
PublishedMay 21, 2025
First seenMay 21, 2025

How to fix

Update
  • eclipse jgit5.13.4, 6.10.1.202505221210, 7.0.1.202505221510, 7.1.1.202505221757, 7.2.1.202505142326 or later
  • org.eclipse.jgit:org.eclipse.jgit7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 6.10.1.202505221210-r, 6.0.0.202111291000-r, 5.13.4.202507202350-r or later

Affected products

ProductAffected versionsFixed in
eclipse jgitv < 5.13.4, 6.0.0 ≤ v < 6.10.1.202505221210, 7.0.0 ≤ v < 7.0.1.202505221510, 7.1.0 ≤ v < 7.1.1.202505221757, 7.2.0 ≤ v < 7.2.1.2025051423265.13.4, 6.10.1.202505221210, 7.0.1.202505221510, 7.1.1.202505221757, 7.2.1.202505142326
org.eclipse.jgit:org.eclipse.jgitMaven7.2.0.202503040940-r ≤ v < 7.2.1.202505142326-r, 7.1.0.202411261347-r ≤ v < 7.1.1.202505221757-r, 7.0.0.202409031743-r ≤ v < 7.0.1.202505221510-r, 6.1.0.202203080745-r ≤ v < 6.10.1.202505221210-r, 6.0.0.202110060947-m1 ≤ v < 6.0.0.202111291000-r, v < 5.13.4.202507202350-r7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 6.10.1.202505221210-r, 6.0.0.202111291000-r, 5.13.4.202507202350-r

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.