Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.nifi:nifi-cdc-mysql-bundleMaven | >= 0.0.2, < 1.23.0 | 1.23.0 |
org.apache.nifi:nifi-jms-processorsMaven | >= 0.0.2, < 1.23.0 | 1.23.0 |
org.apache.nifi:nifi-standard-processorsMaven | >= 0.0.2, < 1.23.0 | 1.23.0 |
org.apache.nifi:nifi-dbcp-serviceMaven | >= 0.0.2, < 1.23.0 | 1.23.0 |
org.apache.nifi:nifi-hikari-dbcp-serviceMaven | >= 0.0.2, < 1.23.0 | 1.23.0 |
org.apache.nifi:nifi-hadoop-dbcp-serviceMaven | >= 0.0.2, < 1.23.0 | 1.23.0 |
org.apache.nifi:nifi-hbase_2-client-serviceMaven | >= 0.0.2, < 1.23.0 | 1.23.0 |
org.apache.nifi:nifi-record-serialization-servicesMaven | >= 0.0.2, < 1.23.0 | 1.23.0 |
Affected products
10- osv-coords9 versionspkg:bitnami/nifipkg:maven/org.apache.nifi/nifi-cdc-mysql-bundlepkg:maven/org.apache.nifi/nifi-dbcp-servicepkg:maven/org.apache.nifi/nifi-hadoop-dbcp-servicepkg:maven/org.apache.nifi/nifi-hbase_2-client-servicepkg:maven/org.apache.nifi/nifi-hikari-dbcp-servicepkg:maven/org.apache.nifi/nifi-jms-processorspkg:maven/org.apache.nifi/nifi-record-serialization-servicespkg:maven/org.apache.nifi/nifi-standard-processors
>= 0.0.2, <= 1.22.0+ 8 more
- (no CPE)range: >= 0.0.2, <= 1.22.0
- (no CPE)range: >= 0.0.2, < 1.23.0
- (no CPE)range: >= 0.0.2, < 1.23.0
- (no CPE)range: >= 0.0.2, < 1.23.0
- (no CPE)range: >= 0.0.2, < 1.23.0
- (no CPE)range: >= 0.0.2, < 1.23.0
- (no CPE)range: >= 0.0.2, < 1.23.0
- (no CPE)range: >= 0.0.2, < 1.23.0
- (no CPE)range: >= 0.0.2, < 1.23.0
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-r969-8v3h-23v9ghsaADVISORY
- lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbofghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-36542ghsaADVISORY
- seclists.org/fulldisclosure/2023/Jul/43ghsaWEB
- www.openwall.com/lists/oss-security/2023/07/29/1ghsaWEB
- github.com/apache/nifi/commit/532578799cghsaWEB
- issues.apache.org/jira/browse/NIFI-11744ghsaWEB
- nifi.apache.org/security.htmlghsarelease-notesWEB
News mentions
0No linked articles in our index yet.