title: Apache NiFi: Potential Deserialization of Untrusted Data with JNDI in JMS Components
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.
problem types: CWE-502 Deserialization of Untrusted Data
affected:
{
defaultStatus: unaffected
product: Apache NiFi
vendor: Apache Software Foundation
versions:
lessThanOrEqual: 1.21.0, status: affected, version: 1.8.0, versionType: semver
}
metrics:
other: [
content: {'text': 'important'}
type: Textual description of severity
]