CVE-2022-29265

Improper Restriction of XML External Entity Reference in maven/org.apache.nifi/nifi

Identifiers

CVE-2022-29265

Package Slug

maven/org.apache.nifi/nifi

Vulnerability

Improper Restriction of XML External Entity Reference

Description

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 is 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.

Affected Versions

All versions starting from 0.0.1 up to 1.16.0

Solution

Upgrade to version 1.16.1 or above.

Last Modified

2022-05-12

source