XML External Entity Reference in Apache NiFi
High severity
GitHub Reviewed
Published
Feb 10, 2023
to the GitHub Advisory Database
•
Updated Oct 14, 2024
Package
Affected versions
>= 1.2.0, < 1.20.0
Patched versions
1.20.0
Description
Published by the National Vulnerability Database
Feb 10, 2023
Published to the GitHub Advisory Database
Feb 10, 2023
Reviewed
Feb 10, 2023
Last updated
Oct 14, 2024
The ExtractCCDAAttributes Processor in Apache NiFi 1.2.0 through 1.19.1 does not restrict XML External Entity references. Flow configurations that include the ExtractCCDAAttributes Processor are vulnerable to malicious XML documents that contain Document Type Declarations with XML External Entity references. The resolution disables Document Type Declarations and disallows XML External Entity resolution in the ExtractCCDAAttributes Processor.
References