CVE-2023-34468:
Apache NiFi vulnerable to Code Injection
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.98907%
CWE
Published
6/12/2023
Updated
2/13/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.nifi:nifi-dbcp-base | maven | >= 0.0.2, < 1.22.0 | 1.22.0 |
org.apache.nifi:nifi-hikari-dbcp-service | maven | >= 0.0.2, < 1.22.0 | 1.22.0 |
org.apache.nifi:nifi-dbcp-service-nar | maven | >= 0.0.2, < 1.22.0 | 1.22.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from insufficient validation of Database URL properties in connection pool services. Both DBCP and HikariCP implementations used NON_EMPTY_VALIDATOR which only checked for empty values but didn't restrict dangerous H2 JDBC schemes. The commit introduced ConnectionUrlValidator to explicitly block H2 URLs, indicating these were the vulnerable points. The patch diff clearly shows replacement of the validator in both locations.