CVE-2022-46751: apache software foundation apache ivy
Vulnerability summary
CVE-2022-46751 is a high (CVSS 8.2) vulnerability in apache software foundation apache ivy. EPSS estimates a 2.00% chance of exploitation in the next 30 days, higher than 80.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 4Timeline
- 21-08-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
Improper Restriction of XML External Entity Reference, XML Injection (aka Blind XPath Injection) vulnerability in Apache Software Foundation Apache Ivy.This issue affects any version of Apache Ivy prior to 2.5.2. When Apache Ivy prior to 2.5.2 parses XML files - either its own configuration, Ivy files or Apache Maven POMs - it will allow downloading external document type definitions and expand any entity references contained therein when used. This can be used to exfiltrate data, access resources only the machine running Ivy has access to or disturb the execution of Ivy in different ways. Starting with Ivy 2.5.2 DTD processing is disabled by default except when parsing Maven POMs where the default is to allow DTD processing but only to include a DTD snippet shipping with Ivy that is needed to deal with existing Maven POMs that are not valid XML files but are nevertheless accepted by Maven. Access can be be made more lenient via newly introduced system properties where needed. Users of Ivy prior to version 2.5.2 can use Java system properties to restrict processing of external DTDs, see the section about "JAXP Properties for External Access restrictions" inside Oracle's "Java API for XML Processing (JAXP) Security Guide".
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- OSV · MavenEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
EPSS trend
Probability
2.00%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
0.00 pp
From 2.00% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-91XML Injection (aka Blind XPath Injection)The product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.
- CWE-611Improper Restriction of XML External Entity ReferenceThe product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
Affected systems
Suse10 products
- apache-ivy&distro=SUSE Enterprise Storage 7.1< 2.5.2-150200.3.9.1
- apache-ivy&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 2.5.2-150200.3.9.1
- apache-ivy&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS< 2.5.2-150200.3.9.1
- apache-ivy&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 2.5.2-150200.3.9.1
- apache-ivy&distro=SUSE Linux Enterprise Module for Development Tools 15 SP4< 2.5.2-150200.3.9.1
Opensuse3 products
- apache-ivy&distro=openSUSE Leap 15.4< 2.5.2-150200.3.9.1
- apache-ivy&distro=openSUSE Leap 15.5< 2.5.2-150200.3.9.1
- apache-ivy&distro=openSUSE Tumbleweed< 2.5.2-1.1
Chainguard2 products
- gradle-8< 8.4.0-r0
- gradle-stage0< 8.0.1-r0
Wolfi2 products
- gradle-8< 8.4.0-r0
- gradle-stage0< 8.0.1-r0
Apache1 product
- ivy< 2.5.2
Apache software foundation1 product
- apache ivy≥ 1.0.0, ≤ 2.5.1
Org.apache.ivy1 product
- ivy< 2.5.2
7 vendors · 20 products
References
12 links- docs.oracle.com/en/java/javase/13/security/java-api-xml-processing-jaxp-security-guide.htmlMitigationWEBThird Party Advisory
- gitbox.apache.org/repos/asf?p=ant-ivy.git;a=commit;h=2be17bc18b0e1d4123007d579e43ba1a4b6fab3dPatchFIXWEBVendor Advisory
- lists.apache.org/thread/9gcz4xrsn8c7o9gb377xfzvkb8jltffrRelease NotesAdvisoryWEBMailing ListVendor Advisory
Show all 12 references
- github.com/apache/ant-ivyPACKAGE