CVE-2023-34468
Apache NiFi: Potential Code Injection with Database Services using H2
- State
- Published
- Severity
- 8.8 High
- Published
- Jun 12, 2023
- Updated
- Feb 13, 2025
- Reserved
- Jun 6, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
Apache NiFiApache Software Foundation |
|
References
- https://nifi.apache.org/security.html#CVE-2023-34468release-notes
- https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8vendor-advisory
- http://www.openwall.com/lists/oss-security/2023/06/12/3
- http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html
- https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.