CVEfocus › CVE database › CVE-2023-36542

CVE-2023-36542Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources

CVSS 8.8 HighEPSS 2.2% (higher than 83% of CVEs)Published 2023-07-29Updated 2025-02-13Assigner: apache

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.

CWE-94

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Maven libraryorg.apache.nifi:nifi-cdc-mysql-bundleFixed1.23.0GHSA-r969-8v3h-23v9
Maven libraryorg.apache.nifi:nifi-dbcp-serviceFixed1.23.0GHSA-r969-8v3h-23v9
Maven libraryorg.apache.nifi:nifi-hadoop-dbcp-serviceFixed1.23.0GHSA-r969-8v3h-23v9
Maven libraryorg.apache.nifi:nifi-hbase_2-client-serviceFixed1.23.0GHSA-r969-8v3h-23v9
Maven libraryorg.apache.nifi:nifi-hikari-dbcp-serviceFixed1.23.0GHSA-r969-8v3h-23v9
Maven libraryorg.apache.nifi:nifi-jms-processorsFixed1.23.0GHSA-r969-8v3h-23v9
Maven libraryorg.apache.nifi:nifi-record-serialization-servicesFixed1.23.0GHSA-r969-8v3h-23v9
Maven libraryorg.apache.nifi:nifi-standard-processorsFixed1.23.0GHSA-r969-8v3h-23v9

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.