{"id":"CVE-2022-29265","published":"2022-04-30T08:05:10Z","modified":"2024-08-03T06:17:54Z","title":"Improper Restriction of XML External Entity References in Multiple Components","vendor":"Apache","product":"Apache NiFi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02597,"percentile":0.85702,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://nifi.apache.org/security.html#CVE-2022-29265","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread/47od9kr9n4cyv0mv81jh3pkyx815kyjl","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":17.14}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache NiFi","versions":[">= 0.0.1 to 1.16.0, <= 0.0.1 to 1.16.0"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.nifi:nifi","vulnerableRanges":[">=0.0.1, <1.16.1"],"patched":["1.16.1"],"from":["GHSA-wc97-7623-rxwx"],"provenance":"source"}],"summary":{"text":"Apache NiFi versions 0.0.1 through 1.16.0 contain an XML External Entity (XXE) flaw in several components, including the Standard Content Viewer service and the EvaluateXPath, EvaluateXQuery, and ValidateXml processors, which attempt to resolve external entity references in their default configuration. An attacker who can supply a malicious XML document containing a Document Type Declaration with external entity references to a flow that uses these processors (or to the content viewer) can exploit the flaw, with the vulnerable behaviour present under default property values.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:32Z"},"euvd":{"id":"EUVD-2022-5551","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-9487","published":"2020-10-01","fixed":"1.12.0-RC1","kev":false},{"cve":"CVE-2020-9491","published":"2020-10-01","fixed":"1.12.0-RC1","kev":false},{"cve":"CVE-2021-44145","published":"2021-12-17","fixed":"1.15.1","kev":false,"link":{"from":"CVE-2021-44145","to":"CVE-2022-29265","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.nifi:nifi","fromFixed":"1.15.1","toFixed":"1.16.1","daysApart":134}]}},{"cve":"CVE-2022-29265","published":"2022-04-30","fixed":"1.16.1","kev":false},{"cve":"CVE-2022-33140","published":"2022-06-15","fixed":"1.16.3","kev":false,"link":{"from":"CVE-2022-29265","to":"CVE-2022-33140","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.nifi:nifi","fromFixed":"1.16.1","toFixed":"1.16.3","daysApart":46}]}}],"package":"Maven:org.apache.nifi:nifi"}}