CVE-2023-34468
HighPublic exploitApache NiFi vulnerable to Code Injection
Published Jun 12, 2023 · Updated Oct 8, 2026 · Also known as BIT-nifi-2023-34468, GHSA-xm2m-2q6h-22jw
Key Facts
Patch immediately- CVE-2023-34468 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Nifi (Apache), org.apache.nifi:nifi-dbcp-base (maven), org.apache.nifi:nifi-dbcp-service-nar (maven) and 1 more product.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 62% probability of exploitation in the next 30 days.
- Fixed versions are available, including Nifi 1.22.0, org.apache.nifi:nifi-dbcp-base 1.22.0, org.apache.nifi:nifi-dbcp-service-nar 1.22.0.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
62%
Higher than 99.1% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2023-34468 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
6 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| NifiApache | >= 0.0.2 | 1.22.0 |
| org.apache.nifi:nifi-dbcp-basemaven | >= 0.0.2 | 1.22.0 |
| org.apache.nifi:nifi-dbcp-service-narmaven | >= 0.0.2 | 1.22.0 |
| org.apache.nifi:nifi-hikari-dbcp-servicemaven | >= 0.0.2 | 1.22.0 |
Patched Releases
Nifi
1.22.0
org.apache.nifi:nifi-dbcp-base
1.22.0
org.apache.nifi:nifi-dbcp-service-nar
1.22.0
org.apache.nifi:nifi-hikari-dbcp-service
1.22.0
Timeline
Publicly disclosed
Jun 12, 2023
Last updated
Oct 8, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisoryhttp://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34468.json
- advisoryhttps://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8
- advisoryhttps://nifi.apache.org/security.html#CVE-2023-34468
FAQ
Common Questions.
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.
Affected: Nifi (Apache) versions >= 0.0.2; org.apache.nifi:nifi-dbcp-base (maven) versions >= 0.0.2; org.apache.nifi:nifi-dbcp-service-nar (maven) versions >= 0.0.2, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Nifi 1.22.0, org.apache.nifi:nifi-dbcp-base 1.22.0, org.apache.nifi:nifi-dbcp-service-nar 1.22.0.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2023-34468 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo