Description
When creating or updating credentials for single-user access, Apache NiFi wrote a copy of the Login Identity Providers configuration to the operating system temporary directory. On most platforms, the operating system temporary directory has global read permissions. NiFi immediately moved the temporary file to the final configuration directory, which significantly limited the window of opportunity for access. NiFi 1.16.0 includes updates to replace the Login Identity Providers configuration without writing a file to the operating system temporary directory.
Remediation
References
http://www.openwall.com/lists/oss-security/2022/04/06/2
https://nifi.apache.org/security.html#CVE-2022-26850
Related Vulnerabilities
CVE-2010-2076 Vulnerability in maven package org.apache.axis2:axis2-kernel
CVE-2021-21165 Vulnerability in maven package org.webjars.npm:electron
CVE-2022-25904 Vulnerability in npm package safe-eval
CVE-2022-36896 Vulnerability in maven package com.compuware.jenkins:compuware-scm-downloader
CVE-2023-31890 Vulnerability in maven package com.glazedlists:glazedlists