CVE-2020-1942 Insertion of Sensitive Information into Log File in Apache NiFi
Apache NiFi logs sensitive property values in plaintext during cluster join failures, exposing confidential data to anyone with log access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-1942?
CVE-2020-1942 is a high-severity vulnerability in Apache Nifi, published on 11 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Apache NiFi 0.0.1 to 1.11.0, the flow fingerprint factory generated flow fingerprints which included sensitive property descriptor values. In the event a node attempted to join a cluster and the cluster flow was not inheritable, the flow fingerprint of both the cluster and local flow was printed, potentially containing sensitive values in plaintext.
Weakness: CWE-532
Which versions are affected by CVE-2020-1942?
5 open source packages ship an affected version, including org.apache.nifi:nifi-framework-core, nifi and org.apache.nifi:nifi-security-utils. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.nifi:nifi-framework-core Maven | From 0.0.1 | 1.12.0-RC1 |
org.apache.nifi:nifi-framework-core Maven | From 0.0.1 | 1.12.0-RC1 |
nifi Bitnami | From 0.0.1 to 1.11.0 | None |
org.apache.nifi:nifi-security-utils Maven | From 0.0.1 | 1.12.0-RC1 |
org.apache.nifi:nifi-security-utils Maven | From 0.0.1 | 1.12.0-RC1 |
Products include Apache Nifi.
How do I fix CVE-2020-1942?
Upgrade org.apache.nifi:nifi-framework-core to 1.12.0-RC1 or later.
Is CVE-2020-1942 being exploited?
There is no known exploitation of CVE-2020-1942 in the wild and no public exploit code.
Other vulnerabilities in Apache Nifi
- CVE-2018-1309 Improper Restriction of XML External Entity Reference in Apache NiFi
- CVE-2017-15697 Apache NiFi XSS issue in context path handling
- CVE-2017-5636 Injection in Apache NiFi
- CVE-2026-68981 Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests
- CVE-2023-36542 Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
Sources
Also known as BIT-nifi-2020-1942, GHSA-7q8g-gpfp-v8gx.