CVE-2023-34468

High

Description

The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution. The resolution validates the Database URL and rejects H2 JDBC locations. You are recommended to upgrade to version 1.22.0 or later which fixes this issue.

SeverityHigh
CVSS8.8
Exploit probability—
ProductApache Nifi
PublishedJun 12, 2023
First seenJun 12, 2023

How to fix

Update
  • apache nifi1.22.0 or later
  • org.apache.nifi:nifi-dbcp-base1.22.0 or later
  • org.apache.nifi:nifi-hikari-dbcp-service1.22.0 or later
  • org.apache.nifi:nifi-dbcp-service-nar1.22.0 or later

Affected products

ProductAffected versionsFixed in
apache nifi0.0.2 ≤ v < 1.22.01.22.0
org.apache.nifi:nifi-dbcp-baseMaven0.0.2 ≤ v < 1.22.01.22.0
org.apache.nifi:nifi-hikari-dbcp-serviceMaven0.0.2 ≤ v < 1.22.01.22.0
org.apache.nifi:nifi-dbcp-service-narMaven0.0.2 ≤ v < 1.22.01.22.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.