CVE-2023-34468Nifi Code Injection
Apache NiFi vulnerable to Code Injection
Published Jun 12, 2023 · Updated Oct 28, 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.
Scores
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
Exploit maturity
Weaponized
ATLAS score
61/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2023-34468
- advisoryhttps://nifi.apache.org/security.html#CVE-2023-34468
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-34468
- advisoryhttps://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/
- advisoryhttp://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html
- advisoryGHSA advisory
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 28, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorycve.org · CVERecord
- advisorynifi.apache.org · security.html
- advisorynvd.nist.gov · CVE-2023-34468
- advisorycyfirma.com · CVE-2023-34468
- advisorypacketstormsecurity.com · Apache-NiFi-H2-Connection-String-Remote-Code-Ex…
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo