ADVISORIES

GitHub Advisory Database

GHSA-65wh-g8x8-gm2h

Apache NiFi vulnerable to Deserialization of Untrusted Data

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.nifi:nifi-jms-processors
From 1.8.0 before 1.22.0 (fixed in 1.22.0)

References