CVE-2023-36542: Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
Vulnerability summary
CVE-2023-36542 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in apache software foundation apache nifi. EPSS estimates a 1.90% chance of exploitation in the next 30 days, higher than 80.4% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 29-07-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · MavenEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.90%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.90% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Org.apache.nifi8 products
- nifi-cdc-mysql-bundle≥ 0.0.2, < 1.23.0
- nifi-dbcp-service≥ 0.0.2, < 1.23.0
- nifi-hadoop-dbcp-service≥ 0.0.2, < 1.23.0
- nifi-hbase_2-client-service≥ 0.0.2, < 1.23.0
- nifi-hikari-dbcp-service≥ 0.0.2, < 1.23.0
Apache1 product
- nifi≥ 0.0.2, ≤ 1.22.0
Apache software foundation1 product
- apache nifi≥ 0.0.2, ≤ 1.22.0
3 vendors · 10 products
References
8 links- lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbofVendor AdvisoryWEBIssue TrackingMailing List
- github.com/apache/nifiPACKAGE