CVE-2022-46751
published high CVSS 3.1 · 8.2Apache Ivy: XML External Entity vulnerability in Apache Ivy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Ivy1.0.0 through 2.5.1 · Other versions: unaffected | Affected | Not stated | apache |
| apache | — | ivy1.0.0 through 2.5.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2302 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-336 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP2 | apache-ivynoarch | Advisory build | 2.5.2-150200.3.9.1 | SUSE-SU-2023:4367-1 |
| Amazon Linux | AL2 | apache-ivynoarch | Listed in advisory | Not stated | ALAS2-2023-2302 |
| SUSE / openSUSE | SLE-15-SP3 | apache-ivynoarch | Advisory build | 2.5.2-150200.3.9.1 | SUSE-SU-2023:4367-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache-ivynoarch | Advisory build | 2.5.2-150200.3.9.1 | SUSE-SU-2023:4367-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | apache-ivynoarch | Advisory build | 2.5.2-150200.3.9.1 | SUSE-SU-2023:4367-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache-ivynoarch | Advisory build | 2.5.2-150200.3.9.1 | SUSE-SU-2023:4367-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache-ivy-javadocnoarch | Advisory build | 2.5.2-150200.3.9.1 | SUSE-SU-2023:4367-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | apache-ivynoarch | Advisory build | 2.5.2-150200.3.9.1 | SUSE-SU-2023:4367-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | apache-ivy-javadocnoarch | Advisory build | 2.5.2-150200.3.9.1 | SUSE-SU-2023:4367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivyaarch64 | Advisory build | 2.5.2-1.1 | OPENSUSE-SU-2024:13148-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivyppc64le | Advisory build | 2.5.2-1.1 | OPENSUSE-SU-2024:13148-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivys390x | Advisory build | 2.5.2-1.1 | OPENSUSE-SU-2024:13148-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivyx86_64 | Advisory build | 2.5.2-1.1 | OPENSUSE-SU-2024:13148-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivy-javadocaarch64 | Advisory build | 2.5.2-1.1 | OPENSUSE-SU-2024:13148-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivy-javadocppc64le | Advisory build | 2.5.2-1.1 | OPENSUSE-SU-2024:13148-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivy-javadocs390x | Advisory build | 2.5.2-1.1 | OPENSUSE-SU-2024:13148-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivy-javadocx86_64 | Advisory build | 2.5.2-1.1 | OPENSUSE-SU-2024:13148-1 |
| Amazon Linux | AL2 | apache-ivysrc | Listed in advisory | Not stated | ALAS2-2023-2302 |
| Amazon Linux | AL2023 | apache-ivynoarch | Listed in advisory | Not stated | ALAS2023-2023-336 |
| Amazon Linux | AL2023 | apache-ivysrc | Listed in advisory | Not stated | ALAS2023-2023-336 |
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".
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Ivy | 1.0.0 through 2.5.1 (affected · semver)Default: unaffected | apache · cna |
| apache | ivy | 1.0.0 through 2.5.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-611 CWE-611 Improper Restriction of XML External Entity Reference
- CWE-91 CWE-91 XML Injection (aka Blind XPath Injection)
References
5- http://www.openwall.com/lists/oss-security/2023/09/06/9
- https://docs.oracle.com/en/java/javase/13/security/java-api-xml-processing-jaxp-security-guide.html#GUID-94ABC0EE-9DC8-44F0-84AD-47ADD5340477
- https://gitbox.apache.org/repos/asf?p=ant-ivy.git;a=commit;h=2be17bc18b0e1d4123007d579e43ba1a4b6fab3d
- https://lists.apache.org/thread/1dj60hg5nr36kjr4p1100dwjrqookps8
- https://lists.apache.org/thread/9gcz4xrsn8c7o9gb377xfzvkb8jltffr
Provider assertions
3apache · cna
Apache Ivy: XML External Entity vulnerability in Apache Ivy
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c590ed850e08949343d72f3cc91062373ee542dfcf51601a42efd21d989e5eed
- Ingested
- 23 Sep 2026, 08:03:36 UTC
- Source record
- Official CVE record