CVE-2023-36542
HIGH8.8EPSS 1.2%Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
Published: 7/29/2023Modified: 9/15/2025
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 (9)
- Bitnami/nifi>= 0.0.2, <= 1.22.0
- Maven/org.apache.nifi:nifi-cdc-mysql-bundle>= 0.0.2, < 1.23.0
- Maven/org.apache.nifi:nifi-dbcp-service>= 0.0.2, < 1.23.0
- Maven/org.apache.nifi:nifi-hadoop-dbcp-service>= 0.0.2, < 1.23.0
- Maven/org.apache.nifi:nifi-hbase_2-client-service>= 0.0.2, < 1.23.0
- Maven/org.apache.nifi:nifi-hikari-dbcp-service>= 0.0.2, < 1.23.0
- Maven/org.apache.nifi:nifi-jms-processors>= 0.0.2, < 1.23.0
- Maven/org.apache.nifi:nifi-record-serialization-services>= 0.0.2, < 1.23.0
- Maven/org.apache.nifi:nifi-standard-processors>= 0.0.2, < 1.23.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-36542
- PATCHhttps://github.com/apache/nifi
- WEBhttp://seclists.org/fulldisclosure/2023/Jul/43
- WEBhttps://github.com/apache/nifi/commit/532578799c
- WEBhttps://issues.apache.org/jira/browse/NIFI-11744
- WEBhttps://lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof
- WEBhttps://nifi.apache.org/security.html#CVE-2023-36542
- WEBhttp://www.openwall.com/lists/oss-security/2023/07/29/1