CVE-2020-1928: Nifi parameter Apache NiFi Insertion Of Sensitive Vulnerability
MODERATECVE-2020-1928 is a MODERATE (CVSS 5.3) apache nifi insertion of sensitive vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Nifi parameter libraries in the Maven ecosystem. The issue involves apache nifi insertion of sensitive information into log file. Remediation is available by upgrading affected packages to version 1.11.0.
CVE-2020-1928 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2020-1928
To remediate this vulnerability, upgrade all affected Nifi parameter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-parameter</artifactId>
<version>1.11.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.nifi
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2020-1928, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.nifi
Analyze the terminal output to locate any version of Nifi parameter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.nifi command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Nifi parameter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-1928 Affected Nifi parameter Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.nifi:nifi-parameter
|
Maven |
≥ 1.10.0
< 1.11.0
All 1 versions
1.10.0
|
1.11.0
|
References
Frequently Asked Questions
What is CVE-2020-1928?
Which Nifi parameter versions are affected?
What version fixes CVE-2020-1928?
Is nifi-parameter affected?
What is the CVSS score of CVE-2020-1928?
What CWE is associated with CVE-2020-1928?
How can I check Maven dependencies for CVE-2020-1928?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w4fj-ccr6-7pcp",
"modified" : "2023-09-25T11:29:40Z",
"published" : "2022-01-06T20:40:56Z",
"aliases" : [ "CVE-2020-1928" ],
"summary" : "Apache NiFi Insertion of Sensitive Information into Log File",
"details" : "An information disclosure vulnerability was found in Apache NiFi 1.10.0. The sensitive parameter parser would log parsed values for debugging purposes. This would expose literal values entered in a sensitive property when no parameter was present.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.nifi:nifi-parameter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.10.0"
}, {
"fixed" : "1.11.0"
} ]
} ],
"versions" : [ "1.10.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-1928"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/nifi/pull/3935"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/nifi/commit/42cb6e84898e66672878f61f99543d6af3c0a567"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/nifi"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r17aaa3a05b5b7fe9075613dd0c681efa60a4f8c8fbad152c61371b6e@%3Cusers.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r38a5b7943b9a62ecb853acc22ef08ff586a7b3c66e08f949f0396ab1@%3Cusers.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rd50baccd1bbb96c2327d5a8caa25a49692b3d68d96915bd1cfbb9f8b@%3Cusers.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://nifi.apache.org/security.html#CVE-2020-1928"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-03-29T14:27:46Z",
"nvd_published_at" : "2020-01-28T01:15:00Z"
}
}