Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache NiFi | 0.0.2 – 1.22.0 | — | No fix listed | CNA |
| — | org.apache.nifi:nifi-cdc-mysql-bundle (Maven) | 0.0.2 to before 1.23.0 | 1.23.0 | Patch available | GHSA-r969-8v3h-23v9 |
| — | org.apache.nifi:nifi-jms-processors (Maven) | 0.0.2 to before 1.23.0 | 1.23.0 | Patch available | GHSA-r969-8v3h-23v9 |
| — | org.apache.nifi:nifi-standard-processors (Maven) | 0.0.2 to before 1.23.0 | 1.23.0 | Patch available | GHSA-r969-8v3h-23v9 |
| — | org.apache.nifi:nifi-dbcp-service (Maven) | 0.0.2 to before 1.23.0 | 1.23.0 | Patch available | GHSA-r969-8v3h-23v9 |
| — | org.apache.nifi:nifi-hikari-dbcp-service (Maven) | 0.0.2 to before 1.23.0 | 1.23.0 | Patch available | GHSA-r969-8v3h-23v9 |
| — | org.apache.nifi:nifi-hadoop-dbcp-service (Maven) | 0.0.2 to before 1.23.0 | 1.23.0 | Patch available | GHSA-r969-8v3h-23v9 |
| — | org.apache.nifi:nifi-hbase_2-client-service (Maven) | 0.0.2 to before 1.23.0 | 1.23.0 | Patch available | GHSA-r969-8v3h-23v9 |
| — | org.apache.nifi:nifi-record-serialization-services (Maven) | 0.0.2 to before 1.23.0 | 1.23.0 | Patch available | GHSA-r969-8v3h-23v9 |
- Apache NiFi VendorApache Affected 0.0.2 – 1.22.0 Fixed in — No fix listed CNA
- org.apache.nifi:nifi-cdc-mysql-bundle (Maven) Vendor— Affected 0.0.2 to before 1.23.0 Fixed in 1.23.0 Patch available GHSA-r969-8v3h-23v9
- org.apache.nifi:nifi-jms-processors (Maven) Vendor— Affected 0.0.2 to before 1.23.0 Fixed in 1.23.0 Patch available GHSA-r969-8v3h-23v9
- org.apache.nifi:nifi-standard-processors (Maven) Vendor— Affected 0.0.2 to before 1.23.0 Fixed in 1.23.0 Patch available GHSA-r969-8v3h-23v9
- org.apache.nifi:nifi-dbcp-service (Maven) Vendor— Affected 0.0.2 to before 1.23.0 Fixed in 1.23.0 Patch available GHSA-r969-8v3h-23v9
- org.apache.nifi:nifi-hikari-dbcp-service (Maven) Vendor— Affected 0.0.2 to before 1.23.0 Fixed in 1.23.0 Patch available GHSA-r969-8v3h-23v9
- org.apache.nifi:nifi-hadoop-dbcp-service (Maven) Vendor— Affected 0.0.2 to before 1.23.0 Fixed in 1.23.0 Patch available GHSA-r969-8v3h-23v9
- org.apache.nifi:nifi-hbase_2-client-service (Maven) Vendor— Affected 0.0.2 to before 1.23.0 Fixed in 1.23.0 Patch available GHSA-r969-8v3h-23v9
- org.apache.nifi:nifi-record-serialization-services (Maven) Vendor— Affected 0.0.2 to before 1.23.0 Fixed in 1.23.0 Patch available GHSA-r969-8v3h-23v9
Remediation
- Fix · GHSA-r969-8v3h-23v9 org.apache.nifi:nifi-cdc-mysql-bundle (Maven) Fixed in 1.23.0 Advisory →
- Fix · GHSA-r969-8v3h-23v9 org.apache.nifi:nifi-jms-processors (Maven) Fixed in 1.23.0 Advisory →
- Fix · GHSA-r969-8v3h-23v9 org.apache.nifi:nifi-standard-processors (Maven) Fixed in 1.23.0 Advisory →
- Fix · GHSA-r969-8v3h-23v9 org.apache.nifi:nifi-dbcp-service (Maven) Fixed in 1.23.0 Advisory →
- Fix · GHSA-r969-8v3h-23v9 org.apache.nifi:nifi-hikari-dbcp-service (Maven) Fixed in 1.23.0 Advisory →
- Fix · GHSA-r969-8v3h-23v9 org.apache.nifi:nifi-hadoop-dbcp-service (Maven) Fixed in 1.23.0 Advisory →
- Fix · GHSA-r969-8v3h-23v9 org.apache.nifi:nifi-hbase_2-client-service (Maven) Fixed in 1.23.0 Advisory →
- Fix · GHSA-r969-8v3h-23v9 org.apache.nifi:nifi-record-serialization-services (Maven) Fixed in 1.23.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-36542
- 2026-10-03 Alias added: GHSA-r969-8v3h-23v9
References
Advisory 4
More Apache Nifi vulnerabilities
- TI-2023-17293 Apache NiFi: Potential Code Injection with Database Services using H2 CVSS 3.1HIGH 8.8
- TI-2020-16549 Uncontrolled resource consumption in Eclipse Jetty CVSS 3.1MEDIUM 5.3
- TI-2019-07411 Deserialization of untrusted data in Apache Commons Beanutils CVSS 3.1HIGH 7.3
- TI-2017-11471 Improper input validation in Apache NiFi CVSS 3.0CRITICAL 9.8
- TI-2018-01212 XML external entity injection in Apache NiFi CVSS 3.0CRITICAL 9.8
- TI-2021-03489 Deserialization of untrusted data in jackson-databind CVSS 3.1HIGH 8.1
Sources
- CVE-2023-36542 · CVE Program
- CVE-2023-36542 · NVD
- FIRST EPSS
- GHSA-r969-8v3h-23v9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences