CVE-2023-34468
HIGH 8.8CVSS 3.1Apache NiFi vulnerable to Code Injection
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.
- Published
- 12 Jun 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- BIT-nifi-2023-34468GHSA-xm2m-2q6h-22jw
- Sources
- NVDJSONOSV GHSA-xm2m-2q6h-22jwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | nificpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:* |
>= 0.0.2, < 1.22.0 | 1.22.0 |
| OSV | Maven | org.apache.nifi:nifi-dbcp-base | >= 0.0.2, < 1.22.0 | 1.22.0 |
| OSV | Maven | org.apache.nifi:nifi-hikari-dbcp-service | >= 0.0.2, < 1.22.0 | 1.22.0 |
| OSV | Maven | org.apache.nifi:nifi-dbcp-service-nar | >= 0.0.2, < 1.22.0 | 1.22.0 |
References
- http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html · Third Party Advisory, VDB Entry, WEB
- http://www.openwall.com/lists/oss-security/2023/06/12/3 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8 · Mailing List, Vendor Advisory, WEB
- https://nifi.apache.org/security.html#CVE-2023-34468 · Release Notes, Vendor Advisory, WEB
- https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-34468 · ADVISORY
- https://github.com/apache/nifi/pull/7349 · WEB
- https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361 · WEB
- https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468 · WEB
- https://github.com/apache/nifi · PACKAGE
- https://issues.apache.org/jira/browse/NIFI-11653 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 12 Jun 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2023)