Vulnerability · Published Jul 29, 2023 · Assigned by apache
CVE-2023-36542Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
High 8.8
In plain English
A high-severity code injection in Apache NiFi from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.nifi:nifi-cdc-mysql-bundle | 1.23.0 | GHSA-r969-8v3h-23v9 |
| Maven | org.apache.nifi:nifi-dbcp-service | 1.23.0 | GHSA-r969-8v3h-23v9 |
| Maven | org.apache.nifi:nifi-hadoop-dbcp-service | 1.23.0 | GHSA-r969-8v3h-23v9 |
| Maven | org.apache.nifi:nifi-hbase_2-client-service | 1.23.0 | GHSA-r969-8v3h-23v9 |
| Maven | org.apache.nifi:nifi-hikari-dbcp-service | 1.23.0 | GHSA-r969-8v3h-23v9 |
| Maven | org.apache.nifi:nifi-jms-processors | 1.23.0 | GHSA-r969-8v3h-23v9 |
| Maven | org.apache.nifi:nifi-record-serialization-services | 1.23.0 | GHSA-r969-8v3h-23v9 |
| Maven | org.apache.nifi:nifi-standard-processors | 1.23.0 | GHSA-r969-8v3h-23v9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache NiFi | 0.0.2 – through 1.22.0 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H