Description
The JndiJmsConnectionFactoryProvider Controller Service, along with the ConsumeJMS and PublishJMS Processors, in Apache NiFi 1.8.0 through 1.21.0 allow an authenticated and authorized user to configure URL and library properties that enable deserialization of untrusted data from a remote location. The resolution validates the JNDI URL and restricts locations to a set of allowed schemes. You are recommended to upgrade to version 1.22.0 or later which fixes this issue.
Remediation
References
http://www.openwall.com/lists/oss-security/2023/06/12/2
https://lists.apache.org/thread/w5rm46fxmvxy216tglf0dv83wo6gnzr5
https://nifi.apache.org/security.html#CVE-2023-34212
Related Vulnerabilities
CVE-2017-7684 Vulnerability in maven package org.apache.openmeetings:openmeetings-server
CVE-2019-13173 Vulnerability in maven package org.webjars:fstream
CVE-2021-30638 Vulnerability in maven package org.apache.tapestry:tapestry-core
CVE-2021-32860 Vulnerability in maven package org.webjars.npm:izimodal
CVE-2018-19413 Vulnerability in maven package org.sonarsource.sonarqube:sonar-plugin-api