CVE-2023-36542 — Vulnerability in nifi-record-seria…n-services
Apache NiFi Code Injection vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.22%). Schedule for your next planned update.
Does your project use an affected org.apache.nifi:nifi-record-serialization-services version?
Paste your pom.xml to check it for CVE-2023-36542 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published July 29, 2023 (1216 days ago).
- Last revised September 15, 2025 — 779 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-record-serialization-services -->
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-jms-processors -->
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-standard-processors -->
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-hbase_2-client-service -->
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-hadoop-dbcp-service -->
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-cdc-mysql-bundle -->
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-dbcp-service -->
<!-- Update pom.xml dependency version to 1.23.0 for org.apache.nifi:nifi-hikari-dbcp-service -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (8)
Affects 1 ecosystem: Maven (8).
| Package | Fixed In |
|---|---|
| org.apache.nifi:nifi-record-serialization-services Maven · Affected: 1.10.0, 1.11.0, 1.11.1, 1.11.2 (+34 more) | 1.23.0 |
| org.apache.nifi:nifi-jms-processors Maven · Affected: 0.6.0, 0.6.1, 0.7.0, 0.7.1 (+47 more) | 1.23.0 |
| org.apache.nifi:nifi-standard-processors Maven · Affected: 0.0.2-incubating, 0.1.0-incubating, 0.2.0-incubating, 0.2.1 (+56 more) | 1.23.0 |
| org.apache.nifi:nifi-hbase_2-client-service Maven · Affected: 1.10.0, 1.11.0, 1.11.1, 1.11.2 (+26 more) | 1.23.0 |
| org.apache.nifi:nifi-hadoop-dbcp-service Maven · Affected: 1.12.0, 1.12.1, 1.13.0, 1.13.1 (+17 more) | 1.23.0 |
| org.apache.nifi:nifi-cdc-mysql-bundle Maven · Affected: 1.10.0, 1.11.0, 1.11.1, 1.11.2 (+34 more) | 1.23.0 |
| org.apache.nifi:nifi-dbcp-service Maven · Affected: 0.2.0-incubating, 0.2.1, 0.3.0, 0.4.0 (+54 more) | 1.23.0 |
| org.apache.nifi:nifi-hikari-dbcp-service Maven · Affected: 1.16.0, 1.16.1, 1.16.2, 1.16.3 (+7 more) | 1.23.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-36542ADVISORY
- https://github.com/apache/nifi/commit/532578799cWEB
- https://github.com/apache/nifiPACKAGE
- https://issues.apache.org/jira/browse/NIFI-11744WEB
- https://lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbofWEB
- https://nifi.apache.org/security.html#CVE-2023-36542WEB
- https://seclists.org/fulldisclosure/2023/Jul/43WEB
- https://www.openwall.com/lists/oss-security/2023/07/29/1WEB
Frequently Asked Questions
- What is CVE-2023-36542?
- Apache NiFi Code Injection vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2023-36542?
- CVE-2023-36542 affects org.apache.nifi:nifi-record-serialization-services, org.apache.nifi:nifi-jms-processors and org.apache.nifi:nifi-standard-processors (and 5 more). It has a 2.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-36542 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top quartile of EPSS-scored vulnerabilities — 83.4% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-39816HIGH
Apache NiFi is missing the Restricted annotation with the Execute Code Required Permission
- CVE-2026-61689HIGH
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
- CVE-2026-44914HIGH
Apache NiFi: Missing authorization when replacing Process Groups with restricted components
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API