CVE-2022-29265
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 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.
Weakness
- CWE-611: Improper Restriction of XML External Entity Reference
Timeline
- 2022-04-30Published by the CNA08:05 UTC
- 2022-05-01GitHub advisory published (GHSA-wc97-7623-rxwx)1 day after publication
Exploit and advisory records
GitHub advisory GHSA-wc97-7623-rxwx, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.apache.nifi:nifi | from 0.0.1 before 1.16.1 | 1.16.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache nifi | from 0.0.1 through 1.16.0no fix listed | not listed |
References
- https://lists.apache.org/thread/47od9kr9n4cyv0mv81jh3pkyx815kyjl
- https://nifi.apache.org/security.html#CVE-2022-29265
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-29265'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-29265'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-29265'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-29265'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).