High

Apache NiFi Code Injection vulnerability

  • Disclosed: 29.07.2023
  • Updated: 11.10.2026 12:22

Apache NiFi 0.0.2 through 1.22.0 include Processors and Controller Services that support HTTP URL references for retrieving drivers, which allows an authenticated and authorized user to configure a location that enables custom code execution. The resolution introduces a new Required Permission for referencing remote resources, restricting configuration of these components to privileged users. The permission prevents unprivileged users from configuring Processors and Controller Services annotated with the new Reference Remote Resources restriction. Upgrading to Apache NiFi 1.23.0 is the recommended mitigation.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.nifi:nifi-cdc-mysql-bundle >= 0.0.2, < 1.23.0 1.23.0
Java / Kotlin (Maven) org.apache.nifi:nifi-dbcp-service >= 0.0.2, < 1.23.0 1.23.0
Java / Kotlin (Maven) org.apache.nifi:nifi-hadoop-dbcp-service >= 0.0.2, < 1.23.0 1.23.0
Java / Kotlin (Maven) org.apache.nifi:nifi-hbase_2-client-service >= 0.0.2, < 1.23.0 1.23.0
Java / Kotlin (Maven) org.apache.nifi:nifi-hikari-dbcp-service >= 0.0.2, < 1.23.0 1.23.0
Java / Kotlin (Maven) org.apache.nifi:nifi-jms-processors >= 0.0.2, < 1.23.0 1.23.0
Java / Kotlin (Maven) org.apache.nifi:nifi-record-serialization-services >= 0.0.2, < 1.23.0 1.23.0
Java / Kotlin (Maven) org.apache.nifi:nifi-standard-processors >= 0.0.2, < 1.23.0 1.23.0

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-94
Platform
Java / Kotlin (Maven)
Package
org.apache.nifi:nifi-cdc-mysql-bundle, org.apache.nifi:nifi-dbcp-service, org.apache.nifi:nifi-hadoop-dbcp-service
Disclosed
29.07.2023
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-r969-8v3h-23v9 - CC BY 4.0

Vulnerability history: org.apache.nifi:nifi-standard-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
2
First → latest
05.2022 07.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 1

Disclosures per year

  1. 2022: 1
  2. 2023: 1
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Apache NiFi Code Injection vulnerability this entry
    High · 8.8 CVE-2023-36542 >= 0.0.2, < 1.23.0 1.23.0
  2. Critical · 9.8 CVE-2018-1309 >= 0.1.0, < 1.6.0 1.6.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.