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
https://nifi.apache.org/security.html#CVE-2022-26850
http://www.openwall.com/lists/oss-security/2022/04/06/2
Related Vulnerabilities
CVE-2023-6394 Vulnerability in maven package io.quarkus:quarkus-smallrye-graphql-deployment
CVE-2022-3971 Vulnerability in npm package matrix-appservice-irc
CVE-2023-40014 Vulnerability in npm package @openzeppelin/contracts-upgradeable
CVE-2022-34800 Vulnerability in maven package tools.devnull:build-notifications
CVE-2017-1000244 Vulnerability in maven package org.jvnet.hudson.plugins:favorite