CVE-2020-13940
Improper Restriction of XML External Entity Reference in Apache NiFi
Reported by apache · Published October 1, 2020
nifi is fixed in 1.12.0-RC1 (Maven Central)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.nifi:nifi | Maven Central | 1.12.0-RC1 |
| nifi | Bitnami | 1.11.4 |
| nifi | apache | 1.11.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Apache NiFi | Apache NiFi 1.0.0 to 1.11.4 |
| n/a | Apache NiFi | 1.0.0 |
| Maven | org.apache.nifi:nifi | 1.0.0 |
Timeline
- Oct 1, 2020 CVE Published
- Oct 5, 2020 CVE Updated
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 2, 2026 Security Advisory
- Sep 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-13940
vulnetix vdb fixes CVE-2020-13940
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-13940/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-13940 advisory