CVE-2020-1942:
Insertion of Sensitive Information into Log File in Apache NiFi
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.38357%
CWE
Published
1/6/2022
Updated
7/31/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.nifi:nifi-framework-core | maven | >= 0.0.1, <= 1.11.0 | 1.12.0-RC1 |
org.apache.nifi:nifi-security-utils | maven | >= 0.0.1, <= 1.11.0 | 1.12.0-RC1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from flow fingerprints containing sensitive descriptor values. The FingerprintFactory's parameter handling methods:
- getLoggableRepresentationOfSensitiveValue initially returned decrypted values (as shown in pre-patch code comments)
- addParameter called this method when constructing fingerprint strings
Commit d7c29f4 shows the fix introduced Argon2SecureHasher to replace plaintext logging. The pre-patch versions of these functions lacked proper value masking, matching the CVE description of sensitive data exposure in flow comparison logs.