CVE-2024-52067: Apache NiFi Potential Insertion Of Sensitive Parameter Vulnerability
MODERATECVE-2024-52067 is a MODERATE potential insertion of sensitive parameter vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Apache NiFi libraries in the Maven ecosystem. The issue involves potential insertion of sensitive parameter values in debug log. Remediation is available by upgrading affected packages to version 1.28.1, 2.0.0.
CVE-2024-52067 at a Glance
How to Fix CVE-2024-52067
To remediate this vulnerability, upgrade all affected Apache NiFi 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-framework-core</artifactId>
<version>1.28.1</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-framework-core</artifactId>
<version>2.0.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-2024-52067, 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 Apache NiFi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.28.1), 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 Apache NiFi, 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-2024-52067 Affected Apache NiFi Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.nifi:nifi-framework-core
|
Maven |
≥ 1.16.0
< 1.28.1
|
1.28.1
|
|
org.apache.nifi:nifi-framework-core
|
Maven |
≥ 2.0.0-M1
< 2.0.0
|
2.0.0
|
References
Frequently Asked Questions
What is CVE-2024-52067?
Which Apache NiFi versions are affected?
What version fixes CVE-2024-52067?
Is nifi-framework-core affected?
What CWE is associated with CVE-2024-52067?
How can I check Maven dependencies for CVE-2024-52067?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v3vc-6qcv-4vrx",
"modified" : "2025-02-11T20:10:46Z",
"published" : "2025-02-11T18:31:20Z",
"aliases" : [ "CVE-2024-52067" ],
"summary" : "Apache NiFi: Potential Insertion of Sensitive Parameter Values in Debug Log",
"details" : "Apache NiFi 1.16.0 through 1.28.0 and 2.0.0-M1 through 2.0.0-M4 include optional debug logging of Parameter Context values during the flow synchronization process. An authorized administrator with access to change logging levels could enable debug logging for framework flow synchronization, causing the application to write Parameter names and values to the application log. Parameter Context values may contain sensitive information depending on application flow configuration. Deployments of Apache NiFi with the default Logback configuration do not log Parameter Context values. Upgrading to Apache NiFi 2.0.0 or 1.28.1 is the recommendation mitigation, eliminating Parameter value logging from the flow synchronization process regardless of the Logback configuration.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/AU:Y/R:U/V:D/RE:L/U:Green"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.nifi:nifi-framework-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.16.0"
}, {
"fixed" : "1.28.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.nifi:nifi-framework-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0-M1"
}, {
"fixed" : "2.0.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.0.0-M4"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-52067"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/nifi/commit/5aed878c5d2a193cd2039c2e997bc3025046bc41"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/nifi/commit/c1108365949268631526d5016b1a163a82f8e9df"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/nifi"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/NIFI-13971"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/9rz5rwn2zc7pfjq7ppqldqlc067tlcwd"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/11/20/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-11T20:10:45Z",
"nvd_published_at" : "2024-11-21T11:15:35Z"
}
}