5.5medium
Improper Restriction of XML External Entity Reference in Apache NiFi
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.91% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-q4xf-3pmq-3hw8BIT-NIFI-2020-13940
Description
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache NiFi | Apache NiFi 1.0.0 to 1.11.4, from 1.0.0 up to 1.11.4 | CVE List, NVD |
| org.apache.nifi:nifi (Maven) | from 1.0.0 before 1.12.0-RC1 | GitHub Advisory Database |
| nifi (Bitnami) | from 1.0.0 up to 1.11.4 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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).
NVD (es)
En Apache NiFi versiones 1.0.0 hasta 1.11.4, el administrador del servicio de notificación y varios objetos del autorizador de políticas y proveedor de grupos de usuarios permitieron a los administradores confiables configurar inadvertidamente un archivo XML potencialmente malicioso. El archivo XML tiene la capacidad de hacer llamadas externas a servicios (por medio de XXE)
References
| https://nifi.apache.org/security#CVE-2020-13940 | advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-13940 | advisory, web | |
| https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-13940 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q4xf-3pmq-3hw8 changed 2025-09-15 | CC-BY-4.0 |
| NVD | CVE-2020-13940 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NIFI-2020-13940 changed 2026-09-08 | Apache-2.0 |