{"answers":{"affected":"12 open source packages ship an affected version, including org.eclipse.jgit:org.eclipse.jgit. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4949 exists.","fix":"Upgrade org.eclipse.jgit:org.eclipse.jgit to a fixed version for your release line: 5.13.4.202507202350-r, 6.0.0.202111291000-r, 6.10.1.202505221210-r or 7.0.1.202505221510-r.","what":"CVE-2025-4949 is a medium-severity vulnerability in Eclipse JGit, published on 21 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-4949 and fix it if it is affected.\n\nWhat it is: CVE-2025-4949 is a medium-severity vulnerability in Eclipse JGit, published on 21 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4949 exists.\n\nAffected packages and fixed versions:\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected all versions; fixed in 5.13.4.202507202350-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected all versions; fixed in 5.13.4.202507202350-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 6.0.0.202110060947-m1; fixed in 6.0.0.202111291000-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 6.0.0.202110060947-m1; fixed in 6.0.0.202111291000-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 6.1.0.202203080745-r; fixed in 6.10.1.202505221210-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 6.1.0.202203080745-r; fixed in 6.10.1.202505221210-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 7.0.0.202409031743-r; fixed in 7.0.1.202505221510-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 7.0.0.202409031743-r; fixed in 7.0.1.202505221510-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 7.1.0.202411261347-r; fixed in 7.1.1.202505221757-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 7.1.0.202411261347-r; fixed in 7.1.1.202505221757-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 7.2.0.202503040940-r; fixed in 7.2.1.202505142326-r\n- org.eclipse.jgit:org.eclipse.jgit (Maven): affected from 7.2.0.202503040940-r; fixed in 7.2.1.202505142326-r\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-4949/ (Markdown: https://insights.sbomify.com/CVE-2025-4949/index.md)","id":"CVE-2025-4949","markdown":"https://insights.sbomify.com/CVE-2025-4949/index.md","name":"CVE-2025-4949","record":{"aliases":["CLSA-2026-1770077339","CLSA-2026-1771027774","DEBIAN-CVE-2025-4949","ECHO-6d20-537b-ef6e","GHSA-vrpq-qp53-qv56","MINI-232r-jh65-2rp7","MINI-8h5q-fqxh-j475","RHSA-2025:22187","RHSA-2025:22188","RHSA-2025:22773","RHSA-2025:22775","ROOT-APP-MAVEN-CVE-2025-4949","SUSE-SU-2025:02762-1","UBUNTU-CVE-2025-4949"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java Git library","requires_auth":"low_privilege","summary":"Attackers can exploit XML parsing flaws in Eclipse JGit to disclose sensitive information or cause denial of service.","user_interaction":"required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"jgit","vendor":"eclipse"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-827","name":"Improper Control of Document Type Definition"},{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"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.","ecosystems":["Maven","Red Hat:jboss_enterprise_application_platform:8.0::el8","Red Hat:jboss_enterprise_application_platform:8.0::el9","Red Hat:jboss_enterprise_application_platform:8.1::el8","Red Hat:jboss_enterprise_application_platform:8.1::el9","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Module for Development Tools 15 SP7","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"XXE vulnerability in Eclipse JGit","id":"CVE-2025-4949","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2025"},"n_packages":335,"n_references":7,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-4950"},"packages":[{"ecosystem":"Maven","fixed":["5.13.4.202507202350-r"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":null,"source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["5.13.4.202507202350-r"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":"pkg:maven/org.eclipse.jgit/org.eclipse.jgit","source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["6.0.0.202111291000-r"],"introduced":["6.0.0.202110060947-m1"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":null,"source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["6.0.0.202111291000-r"],"introduced":["6.0.0.202110060947-m1"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":"pkg:maven/org.eclipse.jgit/org.eclipse.jgit","source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["6.10.1.202505221210-r"],"introduced":["6.1.0.202203080745-r"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":null,"source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["6.10.1.202505221210-r"],"introduced":["6.1.0.202203080745-r"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":"pkg:maven/org.eclipse.jgit/org.eclipse.jgit","source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["7.0.1.202505221510-r"],"introduced":["7.0.0.202409031743-r"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":null,"source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["7.0.1.202505221510-r"],"introduced":["7.0.0.202409031743-r"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":"pkg:maven/org.eclipse.jgit/org.eclipse.jgit","source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["7.1.1.202505221757-r"],"introduced":["7.1.0.202411261347-r"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":null,"source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["7.1.1.202505221757-r"],"introduced":["7.1.0.202411261347-r"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":"pkg:maven/org.eclipse.jgit/org.eclipse.jgit","source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["7.2.1.202505142326-r"],"introduced":["7.2.0.202503040940-r"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":null,"source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Maven","fixed":["7.2.1.202505142326-r"],"introduced":["7.2.0.202503040940-r"],"last_affected":[],"package":"org.eclipse.jgit:org.eclipse.jgit","purl":"pkg:maven/org.eclipse.jgit/org.eclipse.jgit","source":"GHSA-vrpq-qp53-qv56"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:2.0.2-2.redhat_00002.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-angus-activation","purl":"pkg:rpm/redhat/eap8-angus-activation","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:2.16.1-2.redhat_00002.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-commons-io","purl":"pkg:rpm/redhat/eap8-apache-commons-io","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:2.0.1-5.redhat_00007.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-atinject","purl":"pkg:rpm/redhat/eap8-atinject","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:1.82.0-1.redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-bouncycastle","purl":"pkg:rpm/redhat/eap8-bouncycastle","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:1.82.0-1.redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-bouncycastle-jmail","purl":"pkg:rpm/redhat/eap8-bouncycastle-jmail","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:1.82.0-1.redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-bouncycastle-pg","purl":"pkg:rpm/redhat/eap8-bouncycastle-pg","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:1.82.0-1.redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-bouncycastle-pkix","purl":"pkg:rpm/redhat/eap8-bouncycastle-pkix","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:1.82.0-1.redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-bouncycastle-prov","purl":"pkg:rpm/redhat/eap8-bouncycastle-prov","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:1.82.0-1.redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-bouncycastle-util","purl":"pkg:rpm/redhat/eap8-bouncycastle-util","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:800.11.0-1.GA_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-eap-product-conf-parent","purl":"pkg:rpm/redhat/eap8-eap-product-conf-parent","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:800.11.0-1.GA_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-eap-product-conf-wildfly-ee-feature-pack","purl":"pkg:rpm/redhat/eap8-eap-product-conf-wildfly-ee-feature-pack","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:6.10.1.202505221210-1.r_redhat_00002.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-eclipse-jgit","purl":"pkg:rpm/redhat/eap8-eclipse-jgit","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:3.6.27-1.Final_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-hal-console","purl":"pkg:rpm/redhat/eap8-hal-console","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:6.2.46-1.Final_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-hibernate","purl":"pkg:rpm/redhat/eap8-hibernate","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:6.2.46-1.Final_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-hibernate-core","purl":"pkg:rpm/redhat/eap8-hibernate-core","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:6.2.46-1.Final_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-hibernate-envers","purl":"pkg:rpm/redhat/eap8-hibernate-envers","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:8.0.2-1.Final_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-hibernate-validator","purl":"pkg:rpm/redhat/eap8-hibernate-validator","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:8.0.2-1.Final_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-hibernate-validator-cdi","purl":"pkg:rpm/redhat/eap8-hibernate-validator-cdi","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:4.5.14-5.redhat_00016.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-httpcomponents-client","purl":"pkg:rpm/redhat/eap8-httpcomponents-client","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:4.4.16-6.redhat_00011.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-httpcomponents-core","purl":"pkg:rpm/redhat/eap8-httpcomponents-core","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:1.0.3-1.Final_redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-installation-manager-api","purl":"pkg:rpm/redhat/eap8-installation-manager-api","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:4.1.2-2.redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-istack-commons-runtime","purl":"pkg:rpm/redhat/eap8-istack-commons-runtime","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:4.1.2-2.redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-istack-commons-tools","purl":"pkg:rpm/redhat/eap8-istack-commons-tools","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:2.1.3-2.redhat_00002.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-jakarta-activation","purl":"pkg:rpm/redhat/eap8-jakarta-activation","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:2.1.1-5.redhat_00005.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-jakarta-annotation-api","purl":"pkg:rpm/redhat/eap8-jakarta-annotation-api","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:3.0.2-1.redhat_00001.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-jakarta-enterprise-concurrent","purl":"pkg:rpm/redhat/eap8-jakarta-enterprise-concurrent","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:2.1.0-5.redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-jakarta-interceptor-api","purl":"pkg:rpm/redhat/eap8-jakarta-interceptor-api","source":"RHSA-2025:22773"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.0::el8","fixed":["0:2.1.3-3.redhat_00003.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap8-jakarta-mail","purl":"pkg:rpm/redhat/eap8-jakarta-mail","source":"RHSA-2025:22773"}],"prev":{"headline":"Libsoup: integer underflow in soup_multipart_new_from_message() leading to denial of service in libsoup","id":"CVE-2025-4948"},"products":["Eclipse JGit"],"published":"2025-05-21","related":[{"cvss_score":8.8,"headline":"Improper handling of case insensitive filesystems in Eclipse JGit allows arbitrary file write","id":"CVE-2023-4759","kev_date_added":null,"published":"2023-09-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-14","vendors":["Eclipse JGit"]},"summary":"Attackers can exploit XML parsing flaws in Eclipse JGit to disclose sensitive information or cause denial of service.","url":"https://insights.sbomify.com/CVE-2025-4949/"}