CVE-2023-34468
Apache NiFi: Potential Code Injection with Database Services using H2
HIGH 8.8EPSS 61.9%
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.
- Affected
- Apache Software Foundation · Apache NiFi
- CVSS v3.1 NVD
- 8.8 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS
- 61.87% chance of exploitation in the next 30 days, 99th percentile
- Published
- 2023-06-12
- Updated
- 2025-02-13
Proof-of-concept exploits (8)
- https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-a…
- mbadanoiu/CVE-2023-344688★ · 2023-12-01
- shoucheng3/asf__nifi_CVE-2023-34468_1-21-00★ · 2025-08-18
- Jeanpt/CVE-2023-344681★ · 2026-05-10
- ozcanpng/CVE-2023-344680★ · 2026-07-12
- sbouabid-sec/CVE-2023-34468-POC4★ · 2026-05-10
- spikeyjr/CVE-2023-34468-PoC0★ · 2026-06-16
- 0xSoulaimane/CVE-2023-34468-POC4★ · 2026-05-10
Metasploit modules (1)
Security advisories
- https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8
- https://nifi.apache.org/security.html#CVE-2023-34468
- http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-…
- http://www.openwall.com/lists/oss-security/2023/06/12/3
- https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-a…
- advisories/GHSA-xm2m-2q6h-22jw