Loading...
Skip to main content

CVE-2023-36542 — Vulnerability in...

HIGH

Apache NiFi Code Injection vulnerability

Published July 29, 2023Updated September 15, 2025Source: osv

Summary

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.

Advisory Timeline

  • First published July 29, 2023 (1171 days ago).
  • Last revised September 15, 2025 — 779 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.nifi:nifi-record-serialization-services to 1.23.0 or later
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-record-serialization-services -->
Maven
Update org.apache.nifi:nifi-jms-processors to 1.23.0 or later
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-jms-processors -->
Maven
Update org.apache.nifi:nifi-standard-processors to 1.23.0 or later
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-standard-processors -->
Maven
Update org.apache.nifi:nifi-hbase_2-client-service to 1.23.0 or later
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-hbase_2-client-service -->
Maven
Update org.apache.nifi:nifi-hadoop-dbcp-service to 1.23.0 or later
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-hadoop-dbcp-service -->
Maven
Update org.apache.nifi:nifi-cdc-mysql-bundle to 1.23.0 or later
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-cdc-mysql-bundle -->
Maven
Update org.apache.nifi:nifi-dbcp-service to 1.23.0 or later
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-dbcp-service -->
Maven
Update org.apache.nifi:nifi-hikari-dbcp-service to 1.23.0 or later
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-hikari-dbcp-service -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: maven (8).

PackageEcosystemAffectedFixed In
org.apache.nifi:nifi-record-serialization-services
maven
1.10.0, 1.11.0, 1.11.1, 1.11.2 (+34 more)1.23.0
org.apache.nifi:nifi-jms-processors
maven
0.6.0, 0.6.1, 0.7.0, 0.7.1 (+47 more)1.23.0
org.apache.nifi:nifi-standard-processors
maven
0.0.2-incubating, 0.1.0-incubating, 0.2.0-incubating, 0.2.1 (+56 more)1.23.0
org.apache.nifi:nifi-hbase_2-client-service
maven
1.10.0, 1.11.0, 1.11.1, 1.11.2 (+26 more)1.23.0
org.apache.nifi:nifi-hadoop-dbcp-service
maven
1.12.0, 1.12.1, 1.13.0, 1.13.1 (+17 more)1.23.0
org.apache.nifi:nifi-cdc-mysql-bundle
maven
1.10.0, 1.11.0, 1.11.1, 1.11.2 (+34 more)1.23.0
org.apache.nifi:nifi-dbcp-service
maven
0.2.0-incubating, 0.2.1, 0.3.0, 0.4.0 (+54 more)1.23.0
org.apache.nifi:nifi-hikari-dbcp-service
maven
1.16.0, 1.16.1, 1.16.2, 1.16.3 (+7 more)1.23.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-36542?
Apache NiFi Code Injection vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2023-36542?
CVE-2023-36542 affects org.apache.nifi:nifi-record-serialization-services, org.apache.nifi:nifi-jms-processors and org.apache.nifi:nifi-standard-processors (and 5 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-36542 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-r969-8v3h-23v9
BIT-nifi-2023-36542

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies