Medium

Apache NiFi vulnerable to Deserialization of Untrusted Data

  • Disclosed: 12.06.2023
  • Updated: 11.10.2026 12:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.nifi:nifi-jms-processors >= 1.8.0, < 1.22.0 1.22.0

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-502
Platform
Java / Kotlin (Maven)
Package
org.apache.nifi:nifi-jms-processors
Disclosed
12.06.2023
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-65wh-g8x8-gm2h - CC BY 4.0

Vulnerability history: org.apache.nifi:nifi-jms-processors

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
06.2023 08.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 2

Disclosures per year

  1. 2023: 3
  2. 2024: 0
  3. 2025: 0
  4. 2026: 0
  1. Medium · 6.5 CVE-2023-40037 >= 1.21.0, < 1.23.1 1.23.1
  2. High · 8.8 CVE-2023-36542 >= 0.0.2, < 1.23.0 1.23.0
  3. Apache NiFi vulnerable to Deserialization of Untrusted Data this entry
    Medium · 6.5 CVE-2023-34212 >= 1.8.0, < 1.22.0 1.22.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.