Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
Apache Software Foundation · Apache NiFi
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 14 months after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+14 mo
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
See the family tree4 related vulnerabilities in the same code over 10 weeks. The latest fix listed for nifi-jms-processors is 1.23.1.
Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.
- same family
relatedHigh
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Fixed one release later1.22.0 → 1.23.0 (org.apache.nifi:nifi-hikari-dbcp-service)
- Same code patched: HikariCPConnectionPool.java (machine-matched)commit 4faf3eacommit 5325787
This CVECVE-2023-36542NiFi: Potential Code Injection with Properties Referencing…29 Jul 2023relatedHigh
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Fixed one release later1.23.0 → 1.23.1 (org.apache.nifi:nifi-jms-processors)
- Same code patched: HikariCPConnectionPool.java (machine-matched)commit 5325787commit 064550a
- Similar weakness in the same product (machine-matched)same product + description similarity
Fixes in nifi-jms-processorsMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.
- 1.22.0CVE-2023-3421212 Jun 2023
- 1.23.0CVE-2023-3654229 Jul 2023
- 1.23.1CVE-2023-4003718 Aug 2023Latest listed
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.
Am I affected? What do I upgrade to?
From GitHub Security Advisories and OSV8 packages in 1 ecosystem. No single main package: each of these ships the affected code.
- Mavenorg.apache.nifi:nifi-cdc-mysql-bundleAffected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
- Mavenorg.apache.nifi:nifi-jms-processorsAffected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
- Mavenorg.apache.nifi:nifi-standard-processorsAffected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
- Mavenorg.apache.nifi:nifi-dbcp-serviceAffected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
- Mavenorg.apache.nifi:nifi-hikari-dbcp-serviceAffected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
- Mavenorg.apache.nifi:nifi-hadoop-dbcp-serviceAffected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
- Mavenorg.apache.nifi:nifi-hbase_2-client-serviceAffected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
- Mavenorg.apache.nifi:nifi-record-serialization-servicesAffected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
What security researchers reported
Not named in any threat report yetAlso mentioned in 6 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Update 10: Cybercriminals Leverage 66 Vulnerabilities to Target Global Systems2 Jul 2025
- NCSC Advisory - 18th Sept 2024 - PRC Botnet14 Jan 2025
- People's Republic of China-Linked Actors Compromise Routers and IoT Devices for Botnet Operations7 Jan 2025
- People's Republic of China-Linked Actors Compromise Routers and IoT Devices for Botnet Operations7 Jan 2025
- People's Republic of China-Linked Actors Compromise Routers and IoT Devices for Botnet Operations2 Oct 2024
- CSA-PRC-LINKED-ACTORS-BOTNET19 Sep 2024