Vulnerability · Published Jun 12, 2023 · Assigned by apache

CVE-2023-34212Apache NiFi: Potential Deserialization of Untrusted Data with JNDI in JMS Components

Medium 6.5

In plain English

A medium-severity unsafe deserialization in Apache NiFi from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)2.4%top 16.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.nifi:nifi-jms-processors1.22.0GHSA-65wh-g8x8-gm2h

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache NiFi 1.8.0 – through 1.21.0

Weakness: CWE-502

References