Multiple components in Apache NiFi 0.0.1 to 1.16.0 do not restrict XML External Entity references in the default configuration. The Standard Content Viewer service attempts to resolve XML External Entity references when viewing formatted XML files. The following Processors attempt to resolve XML External Entity references when configured with default property values: - EvaluateXPath - EvaluateXQuery - ValidateXml Apache NiFi flow configurations that include these Processors are vulnerable to malicious XML documents that contain Document Type Declarations with XML External Entity references. The resolution disables Document Type Declarations in the default configuration for these Processors, and disallows XML External Entity resolution in standard services.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-5551 Multiple components in Apache NiFi 0.0.1 to 1.16.0 do not restrict XML External Entity references in the default configuration. The Standard Content Viewer service attempts to resolve XML External Entity references when viewing formatted XML files. The following Processors attempt to resolve XML External Entity references when configured with default property values: - EvaluateXPath - EvaluateXQuery - ValidateXml Apache NiFi flow configurations that include these Processors are vulnerable to malicious XML documents that contain Document Type Declarations with XML External Entity references. The resolution disables Document Type Declarations in the default configuration for these Processors, and disallows XML External Entity resolution in standard services.
Github GHSA Github GHSA GHSA-wc97-7623-rxwx Multiple components in Apache NiFi do not restrict XML External Entity references
Fixes

Solution

No solution given by the vendor.


Workaround

Disabling the Validate DTD Processor Property in EvaluateXPath and EvaluateXQuery mitigates the vulnerability for those Processors. No mitigation is available for the ValidateXml Processor or the Standard Content Viewer.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2024-08-03T06:17:54.476Z

Reserved: 2022-04-14T00:00:00

Link: CVE-2022-29265

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-04-30T08:15:06.910

Modified: 2024-11-21T06:58:50.043

Link: CVE-2022-29265

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.