WaratekVRT Sign in

CVE-2023-36542 Apache NiFi

Affected softwareApache NiFi
Severity8.8 High CVSS 3.1 2 scores
Fixed in1.23.0
WeaknessCode injection (CWE-94)
Published29 Jul 2023
Updated17 Jun 2026

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.

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. 1 citation · earliest 2024-09-18.
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.9% chance in 30 days

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2023-36542 in VulnCheck (free account).

EvidenceSourceDetailDate
Reported exploitation media.defense.gov /2024/Sep/18/2003547016/-1/-1/0/CSA-PRC-LINKED-ACTORS-BOTNET.PDF 2024-09-18

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.nifi:nifi-cdc-mysql-bundle, org.apache.nifi:nifi-jms-processors, org.apache.nifi:nifi-standard-processors, org.apache.nifi:nifi-dbcp-service, org.apache.nifi:nifi-hikari-dbcp-service, org.apache.nifi:nifi-hadoop-dbcp-service, org.apache.nifi:nifi-hbase_2-client-service, org.apache.nifi:nifi-record-serialization-services), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.nifi:nifi-cdc-mysql-bundle 0.0.2 1.23.0 unbounded
org.apache.nifi:nifi-jms-processors 0.0.2 1.23.0 unbounded
org.apache.nifi:nifi-standard-processors 0.0.2 1.23.0 unbounded
org.apache.nifi:nifi-dbcp-service 0.0.2 1.23.0 unbounded
org.apache.nifi:nifi-hikari-dbcp-service 0.0.2 1.23.0 unbounded
org.apache.nifi:nifi-hadoop-dbcp-service 0.0.2 1.23.0 unbounded
org.apache.nifi:nifi-hbase_2-client-service 0.0.2 1.23.0 unbounded
org.apache.nifi:nifi-record-serialization-services 0.0.2 1.23.0 unbounded

Products and versions

9 products, 9 version entries
SourceVendorProductSchemeAffected versions
nvd apache nifi generic ≥ 0.0.2 and ≤ 1.22.0
osv org.apache.nifi nifi-cdc-mysql-bundle generic ≥ 0.0.2 and < 1.23.0
osv org.apache.nifi nifi-dbcp-service generic ≥ 0.0.2 and < 1.23.0
osv org.apache.nifi nifi-hadoop-dbcp-service generic ≥ 0.0.2 and < 1.23.0
osv org.apache.nifi nifi-hbase_2-client-service generic ≥ 0.0.2 and < 1.23.0
osv org.apache.nifi nifi-hikari-dbcp-service generic ≥ 0.0.2 and < 1.23.0
osv org.apache.nifi nifi-jms-processors generic ≥ 0.0.2 and < 1.23.0
osv org.apache.nifi nifi-record-serialization-services generic ≥ 0.0.2 and < 1.23.0
osv org.apache.nifi nifi-standard-processors generic ≥ 0.0.2 and < 1.23.0

References

URLTags
https://github.com/apache/nifi/commit/532578799c WEB
https://github.com/apache/nifi PACKAGE
https://issues.apache.org/jira/browse/NIFI-11744 WEB
https://lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof WEB
https://nifi.apache.org/security.html#CVE-2023-36542 WEB
http://seclists.org/fulldisclosure/2023/Jul/43 WEB
http://www.openwall.com/lists/oss-security/2023/07/29/1 WEB

Timeline

Published2023-07-29By the CVE Program.
VulnCheck KEV: earliest evidence2024-09-18Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-06-17NVD's own last-modified date for this record.