Skip to content
Fencer Intel
medium 5.5

CVE-2020-13940 json

Improper Restriction of XML External Entity Reference in Apache NiFi

published 6y ago modified 2mo ago also BIT-nifi-2020-13940 , EUVD-2022-0671 , GHSA-q4xf-3pmq-3hw8

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

Summary

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).

Patch / fix

  • maven org.apache.nifi:nifi 1.12.0-RC1
  • tuxguitar openSUSE Tumbleweed 1.6.0-2.1

opensuse advisories openSUSE-SU-2024:13324-1

Is CVE-2020-13940 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

1.91% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
GitHub 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N
OSV 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.nifi:nifi
>=1.0.0, <1.12.0-RC1
1.12.0-RC1
bitnami nifi
>=1.0.0, <=1.11.4
no fix listed

Affected products

  • n/a Apache NiFi

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.