Skip to content

Apache NiFi Code Injection vulnerability

High severity GitHub Reviewed Published Jul 29, 2023 to the GitHub Advisory Database • Updated Nov 5, 2023

Package

maven org.apache.nifi:nifi-cdc-mysql-bundle (Maven)

Affected versions

>= 0.0.2, < 1.23.0

Patched versions

1.23.0
maven org.apache.nifi:nifi-dbcp-service (Maven)
>= 0.0.2, < 1.23.0
1.23.0
maven org.apache.nifi:nifi-hadoop-dbcp-service (Maven)
>= 0.0.2, < 1.23.0
1.23.0
maven org.apache.nifi:nifi-hbase_2-client-service (Maven)
>= 0.0.2, < 1.23.0
1.23.0
maven org.apache.nifi:nifi-hikari-dbcp-service (Maven)
>= 0.0.2, < 1.23.0
1.23.0
maven org.apache.nifi:nifi-jms-processors (Maven)
>= 0.0.2, < 1.23.0
1.23.0
maven org.apache.nifi:nifi-record-serialization-services (Maven)
>= 0.0.2, < 1.23.0
1.23.0
maven org.apache.nifi:nifi-standard-processors (Maven)
>= 0.0.2, < 1.23.0
1.23.0

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.

References

Published by the National Vulnerability Database Jul 29, 2023
Published to the GitHub Advisory Database Jul 29, 2023
Reviewed Jul 31, 2023
Last updated Nov 5, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2023-36542

GHSA ID

GHSA-r969-8v3h-23v9

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.