cve.bz

CVE-2022-46751 apache ivy: Blind XPath Injection

8.2 highEPSS 2.0%Fix available

High (8.2) in apache ivy. EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.ivy:ivy 2.5.2.

On this page
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".

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
EPSS
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-91 XML Injection (Blind XPath Injection)
CWE-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-46751 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-46751?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-46751?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-46751 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Ivyfrom 1.0.0 through 2.5.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2jc4-r94c-rp7hMavenorg.apache.ivy:ivy<2.5.22.5.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 7 moreapache-ivy2.5.2-150200.3.9.1SUSE-SU-2023:4367-1
openSUSELeap 15.4, Leap 15.5apache-ivy2.5.2-150200.3.9.1SUSE-SU-2023:4367-1
openSUSETumbleweedapache-ivy2.5.2-1.1openSUSE-SU-2024:13148-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
MTA-6.2-RHEL-8mta/mta-rhel8-operator:6.2.2-3Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-hub-rhel9:6.2.2-2Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-operator-bundle:6.2.2-5Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-pathfinder-rhel9:6.2.2-2Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-ui-rhel9:6.2.2-2Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-windup-addon-rhel9:6.2.2-3Fixed 2024-02-28RHSA-2024:1027
MTR 1.2.4apache-ivyFixed 2024-02-07RHSA-2024:0720
Red Hat AMQ Streams 2.6.0apache-ivyFixed 2023-12-06RHSA-2023:7678
RHINT Camel-Springboot 4.0.0apache-ivyFixed 2023-10-04RHSA-2023:5441
A-MQ Clients 2apache-ivyNot affected
Red Hat build of Apache Camel for Spring Boot 3apache-ivyAffected
Red Hat Data Grid 8apache-ivyNot affected
Red Hat Enterprise Linux 7apache-ivyOut of support scope
Red Hat Enterprise Linux 8apache-ivyNot affected
Red Hat Fuse 7apache-ivyWill not fix
Red Hat Integration Camel K 1apache-ivyWill not fix
Red Hat JBoss Data Grid 7apache-ivyNot affected
Red Hat JBoss Enterprise Application Platform 6apache-ivyNot affected
Red Hat JBoss Enterprise Application Platform 7apache-ivyNot affected
Red Hat JBoss Enterprise Application Platform 8apache-ivyNot affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-46751.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup
  • CAPEC-83 XPath Injection Likelihood: High · Severity: High
  • CAPEC-250 XML Injection Likelihood: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON