Apache NiFi Code Injection vulnerability

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.


Vulnerability ID: GHSA-r969-8v3h-23v9
Aliases: CVE-2023-36542
Published: 2023-07-29 09:30:15
CWE: CWE-94
Severity rating: HIGH
CVSS: type: CVSS_V3
score: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages:
package: ecosystem: Maven
name: org.apache.nifi:nifi-cdc-mysql-bundle
package: ecosystem: Maven
name: org.apache.nifi:nifi-jms-processors
package: ecosystem: Maven
name: org.apache.nifi:nifi-standard-processors
package: ecosystem: Maven
name: org.apache.nifi:nifi-dbcp-service
package: ecosystem: Maven
name: org.apache.nifi:nifi-hikari-dbcp-service
package: ecosystem: Maven
name: org.apache.nifi:nifi-hadoop-dbcp-service
package: ecosystem: Maven
name: org.apache.nifi:nifi-hbase_2-client-service
package: ecosystem: Maven
name: org.apache.nifi:nifi-record-serialization-services