VYPR
High severityNVD Advisory· Published Jun 12, 2023· Updated Feb 13, 2025

Apache NiFi: Potential Code Injection with Database Services using H2

CVE-2023-34468

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.nifi:nifi-dbcp-baseMaven
>= 0.0.2, < 1.22.01.22.0
org.apache.nifi:nifi-hikari-dbcp-serviceMaven
>= 0.0.2, < 1.22.01.22.0
org.apache.nifi:nifi-dbcp-service-narMaven
>= 0.0.2, < 1.22.01.22.0

Affected products

5

Patches

Vulnerability mechanics

References

12

News mentions

0

No linked articles in our index yet.