🛡️ CVE-2023-34468 — nifi
Description
Apache NiFi: Potential Code Injection with Database Services using H2
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2023-34468 is classified as CWE-94: Code Injection. Input is incorporated into code that the runtime evaluates, so an attacker can have their own code executed.
Affected software
CVE-2023-34468 is recorded against 4 packages.
- nifi
- org.apache.nifi:nifi-dbcp-base (from 0.0.2 up to 1.22.0)
- org.apache.nifi:nifi-dbcp-service-nar (from 0.0.2 up to 1.22.0)
- org.apache.nifi:nifi-hikari-dbcp-service (from 0.0.2 up to 1.22.0)
Timeline and source
Published on 12 September 2025 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
packetstormsecurity.com (Web)
www.openwall.com (Web)
lists.apache.org (Web)
nifi.apache.org (Web)
nvd.nist.gov (Web)
www.cyfirma.com (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| nifi | — | — |
| org.apache.nifi:nifi-dbcp-base | 0.0.2 | 1.22.0 |
| org.apache.nifi:nifi-dbcp-service-nar | 0.0.2 | 1.22.0 |
| org.apache.nifi:nifi-hikari-dbcp-service | 0.0.2 | 1.22.0 |
References
Similar Threats
- High CVE-2021-20190
- Medium CVE-2024-37389
- Medium CVE-2020-27223
- High CVE-2023-49145
- Medium CVE-2023-40037
More CVE 2023 advisories
Browse all of CVE 2023 in the advisory index.
Site Security Check
Is nifi part of your stack?
CVE-2023-34468 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.