Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2023-34212 BIT-nifi-2023-34212EUVD-2023-1709GHSA-65wh-g8x8-gm2h

Apache NiFi: Potential Deserialization of Untrusted Data with JNDI in JMS Components

Published Jun 12, 2023 · Updated Feb 13, 2025 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache NiFi 1.8.0 – ≤ 1.21.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • mbadanoiu/CVE-2023-34212 ★ 3 · Nov 23, 2023

    CVE-2023-34212: Java Deserialization via JNDI Components in Apache NiFi

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.nifi:nifi-jms-processors >= 1.8.0, < 1.22.0 1.22.0 GHSA-65wh-g8x8-gm2h

Advisories 1

References