Patchfirst
CVE-2023-36542 High · 8.8 EPSS 1.9%

Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources

Apache Software Foundation · Apache NiFi

Official description · CVE.org

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.

Breakdown
59.0 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 14 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+14 mo

See the family tree

4 related vulnerabilities in the same code over 10 weeks. The latest fix listed for nifi-jms-processors is 1.23.1.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2023-34212NiFi: Potential Deserialization of Untrusted Data with JNDI in…12 Jun 2023
  2. same family
    CVE-2023-34468NiFi: Potential Code Injection with Database Services using H212 Jun 2023
  3. relatedHigh

    Why these are linked:

    • Fixed one release later1.22.0 → 1.23.0 (org.apache.nifi:nifi-hikari-dbcp-service)
    • Same code patched: HikariCPConnectionPool.java (machine-matched)commit 4faf3eacommit 5325787
    This CVECVE-2023-36542NiFi: Potential Code Injection with Properties Referencing…29 Jul 2023
  4. relatedHigh

    Why these are linked:

    • Fixed one release later1.23.0 → 1.23.1 (org.apache.nifi:nifi-jms-processors)
    • Same code patched: HikariCPConnectionPool.java (machine-matched)commit 5325787commit 064550a
    • Similar weakness in the same product (machine-matched)same product + description similarity
    CVE-2023-40037NiFi: Incomplete Validation of JDBC and JNDI Connection URLs18 Aug 2023

Fixes in nifi-jms-processorsMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 1.22.0CVE-2023-3421212 Jun 2023
  2. 1.23.0CVE-2023-3654229 Jul 2023
  3. 1.23.1CVE-2023-4003718 Aug 2023Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

8 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Mavenorg.apache.nifi:nifi-cdc-mysql-bundle
    Affected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
  • Mavenorg.apache.nifi:nifi-jms-processors
    Affected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
  • Mavenorg.apache.nifi:nifi-standard-processors
    Affected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
  • Mavenorg.apache.nifi:nifi-dbcp-service
    Affected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
  • Mavenorg.apache.nifi:nifi-hikari-dbcp-service
    Affected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
  • Mavenorg.apache.nifi:nifi-hadoop-dbcp-service
    Affected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
  • Mavenorg.apache.nifi:nifi-hbase_2-client-service
    Affected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later
  • Mavenorg.apache.nifi:nifi-record-serialization-services
    Affected: 0.0.2 up to 1.23.0Upgrade to 1.23.0 or later

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close