{"id":"CVE-2020-13940","published":"2020-10-01T19:55:16Z","modified":"2024-08-04T12:32:14Z","title":"In Apache NiFi 1.0.0 to 1.11.4, the notification service manager and various policy authorizer and user group provider…","vendor":null,"product":null,"tier":"tail","description":{"text":"In Apache NiFi 1.0.0 to 1.11.4, the notification service manager and various policy authorizer and user group provider objects allowed trusted administrators to inadvertently configure a potentially malicious XML file. The XML file has the ability to make external calls to services (via XXE).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01911,"percentile":0.80304,"provenance":"source"},"cwes":[],"references":[{"url":"https://nifi.apache.org/security#CVE-2020-13940","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.06}]},"affectedVersions":[{"vendor":"n/a","product":"Apache NiFi","versions":["Apache NiFi 1.0.0 to 1.11.4"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.nifi:nifi","vulnerableRanges":[">=1.0.0, <1.12.0-RC1"],"patched":["1.12.0-RC1"],"from":["GHSA-q4xf-3pmq-3hw8"],"provenance":"source"}],"summary":{"text":"The flaw affects Apache NiFi versions 1.0.0 through 1.11.4, specifically the notification service manager and various policy authorizer and user group provider objects, which accept XML configuration. An attacker who can get a malicious XML file configured through these objects, which requires a trusted administrator to inadvertently do so, can make external calls to services via XML External Entity (XXE) processing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:06Z"},"euvd":{"id":"EUVD-2022-0671","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-nifi-cve-2017-15703","parents":[{"from":"CVE-2017-15703","to":"CVE-2020-13940","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/xml/XmlUtils.java","nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/src/main/java/org/apache/nifi/authorization/FileAccessPolicyProvider.java","nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/src/main/java/org/apache/nifi/authorization/FileUserGroupProvider.java"],"commits":["https://github.com/apache/nifi/commit/9e2c7be7d3c6a380c5f61074d9a5a690b617c3dc","https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798"],"basis":"rarely changed file"}]},{"from":"CVE-2018-1309","to":"CVE-2020-13940","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/xml/XmlUtils.java"],"commits":["https://github.com/apache/nifi/commit/28067a29fd13cdf8e21b440fc65c6dd67872522f","https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798"],"basis":"rarely changed file"}]},{"from":"CVE-2020-1942","to":"CVE-2020-13940","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/fingerprint/FingerprintFactory.java"],"commits":["https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798","https://github.com/apache/nifi/commit/95746d346cddbd6134c4b28fdc39d5813a626f97","https://github.com/apache/nifi/commit/d7c29f46378379fb596e4d1e59d1a3c41063db5b"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2020-13940","to":"CVE-2020-9486","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/fingerprint/FingerprintFactory.java"],"commits":["https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798","https://github.com/apache/nifi/commit/148537d64a017b73160b0d49943183c18f883ab0"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2019-10080","published":"2019-11-19","fixed":"1.10.0","kev":false},{"cve":"CVE-2019-10083","published":"2019-11-19","fixed":"1.10.0","kev":false},{"cve":"CVE-2020-1933","published":"2020-01-28","fixed":"1.11.0","kev":false,"link":{"from":"CVE-2020-1933","to":"CVE-2020-13940","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.nifi:nifi","fromFixed":"1.11.0","toFixed":"1.12.0-RC1","daysApart":247}]}},{"cve":"CVE-2020-13940","published":"2020-10-01","fixed":"1.12.0-RC1","kev":false},{"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-2020-13940","to":"CVE-2021-44145","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.nifi:nifi","fromFixed":"1.12.0-RC1","toFixed":"1.15.1","daysApart":442}]}}],"package":"Maven:org.apache.nifi:nifi"}}