CVE-2024-52067: Apache NiFi: Potential Insertion of Sensitive Parameter Values in Debug Log
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.
Published Feb 11, 2025
Affected packages
org.apache.nifi:nifi-framework-core
- Ecosystem
- Maven
- Affected
- >= 1.16.0, < 1.28.1
- Fixed in
- 1.28.1
- Check
mvn dependency:tree -Dincludes=org.apache.nifi:nifi-framework-core
org.apache.nifi:nifi-framework-core
- Ecosystem
- Maven
- Affected
- >= 2.0.0-M1, <= 2.0.0-M4
- Fixed in
- 2.0.0
- Check
mvn dependency:tree -Dincludes=org.apache.nifi:nifi-framework-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-52067
- https://lists.apache.org/thread/9rz5rwn2zc7pfjq7ppqldqlc067tlcwd
- https://github.com/apache/nifi/commit/5aed878c5d2a193cd2039c2e997bc3025046bc41
- https://github.com/apache/nifi/commit/c1108365949268631526d5016b1a163a82f8e9df
- https://issues.apache.org/jira/browse/NIFI-13971
- https://github.com/advisories/GHSA-v3vc-6qcv-4vrx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
