CVE-2023-36542
8.8high
Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.90% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-r969-8v3h-23v9BIT-NIFI-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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache NiFi | from 0.0.2 up to 1.22.0 | CVE List |
| apache nifi | from 0.0.2 up to 1.22.0 | CVE List, NVD |
| org.apache.nifi:nifi-cdc-mysql-bundle (Maven) | from 0.0.2 before 1.23.0 | GitHub Advisory Database |
| org.apache.nifi:nifi-jms-processors (Maven) | from 0.0.2 before 1.23.0 | GitHub Advisory Database |
| org.apache.nifi:nifi-standard-processors (Maven) | from 0.0.2 before 1.23.0 | GitHub Advisory Database |
| org.apache.nifi:nifi-dbcp-service (Maven) | from 0.0.2 before 1.23.0 | GitHub Advisory Database |
| org.apache.nifi:nifi-hikari-dbcp-service (Maven) | from 0.0.2 before 1.23.0 | GitHub Advisory Database |
| org.apache.nifi:nifi-hadoop-dbcp-service (Maven) | from 0.0.2 before 1.23.0 | GitHub Advisory Database |
| org.apache.nifi:nifi-hbase_2-client-service (Maven) | from 0.0.2 before 1.23.0 | GitHub Advisory Database |
| org.apache.nifi:nifi-record-serialization-services (Maven) | from 0.0.2 before 1.23.0 | GitHub Advisory Database |
| nifi (Bitnami) | from 0.0.2 up to 1.22.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high 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 |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://nifi.apache.org/security.html#CVE-2023-36542 | advisory, release-notes, vendor-advisory, web | |
| https://lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof | advisory, issue-tracking, mailing-list, vendor-advisory, web | |
| http://seclists.org/fulldisclosure/2023/Jul/43 | not-applicable, web | |
| http://www.openwall.com/lists/oss-security/2023/07/29/1 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-36542 | advisory, web | |
| https://github.com/apache/nifi/commit/532578799c | web | |
| https://github.com/apache/nifi | package | |
| https://issues.apache.org/jira/browse/NIFI-11744 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-36542 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r969-8v3h-23v9 changed 2025-09-15 | CC-BY-4.0 |
| NVD | CVE-2023-36542 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NIFI-2023-36542 changed 2026-09-08 | Apache-2.0 |