CVE-2023-36542
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.
How to fix
- org.apache.nifi:nifi-cdc-mysql-bundle1.23.0 or later
- org.apache.nifi:nifi-jms-processors1.23.0 or later
- org.apache.nifi:nifi-standard-processors1.23.0 or later
- org.apache.nifi:nifi-dbcp-service1.23.0 or later
- org.apache.nifi:nifi-hikari-dbcp-service1.23.0 or later
- org.apache.nifi:nifi-hadoop-dbcp-service1.23.0 or later
- org.apache.nifi:nifi-hbase_2-client-service1.23.0 or later
- org.apache.nifi:nifi-record-serialization-services1.23.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache nifi | 0.0.2 ≤ v ≤ 1.22.0 | — |
| org.apache.nifi:nifi-cdc-mysql-bundleMaven | 0.0.2 ≤ v < 1.23.0 | 1.23.0 |
| org.apache.nifi:nifi-jms-processorsMaven | 0.0.2 ≤ v < 1.23.0 | 1.23.0 |
| org.apache.nifi:nifi-standard-processorsMaven | 0.0.2 ≤ v < 1.23.0 | 1.23.0 |
| org.apache.nifi:nifi-dbcp-serviceMaven | 0.0.2 ≤ v < 1.23.0 | 1.23.0 |
| org.apache.nifi:nifi-hikari-dbcp-serviceMaven | 0.0.2 ≤ v < 1.23.0 | 1.23.0 |
| org.apache.nifi:nifi-hadoop-dbcp-serviceMaven | 0.0.2 ≤ v < 1.23.0 | 1.23.0 |
| org.apache.nifi:nifi-hbase_2-client-serviceMaven | 0.0.2 ≤ v < 1.23.0 | 1.23.0 |
| org.apache.nifi:nifi-record-serialization-servicesMaven | 0.0.2 ≤ v < 1.23.0 | 1.23.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.