WaratekVRT Sign in

CVE-2023-34212 Apache NiFi

Affected softwareApache NiFi
Severity6.5 Medium CVSS 3.1
Fixed in1.22.0
WeaknessDeserialization of untrusted data (CWE-502)
Published12 Jun 2023
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 2.4% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2023-34212: Java Deserialization via JNDI Components in Apache NiFi 3 2023-11-23

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2023-34212

Upgrade Apache NiFi to 1.22.0 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.nifi:nifi-jms-processors 1.8.0 1.22.0 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache nifi generic ≥ 1.8.0 and ≤ 1.21.0
osv org.apache.nifi nifi-jms-processors generic ≥ 1.8.0 and < 1.22.0

References

URLTags
https://github.com/apache/nifi/pull/7313 WEB
https://github.com/apache/nifi/commit/3fcb82ee4509d1ad73893d8dca003be6d086c5d6 WEB
https://github.com/apache/nifi PACKAGE
https://issues.apache.org/jira/browse/NIFI-11614 WEB
https://lists.apache.org/thread/w5rm46fxmvxy216tglf0dv83wo6gnzr5 WEB
https://nifi.apache.org/security.html#CVE-2023-34212 WEB
http://www.openwall.com/lists/oss-security/2023/06/12/2 WEB

Timeline

Published2023-06-12By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.