CVE-2023-34468
JSON

8.8high

Apache NiFi: Potential Code Injection with Database Services using H2

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
61.9% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-xm2m-2q6h-22jwBIT-NIFI-2023-34468

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

Product or packageVersionsReported by
Apache Software Foundation Apache NiFifrom 0.0.2 up to 1.21.0CVE List
apache nififrom 0.0.2 up to 1.21.0, from 0.0.2 before 1.22.0CVE List, NVD
org.apache.nifi:nifi-dbcp-base (Maven)from 0.0.2 before 1.22.0GitHub Advisory Database
org.apache.nifi:nifi-hikari-dbcp-service (Maven)from 0.0.2 before 1.22.0GitHub Advisory Database
org.apache.nifi:nifi-dbcp-service-nar (Maven)from 0.0.2 before 1.22.0GitHub Advisory Database
nifi (Bitnami)from 0.0.2 before 1.22.0Bitnami Vulnerability Database

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

https://nifi.apache.org/security.html#CVE-2023-34468advisory, release-notes, vendor-advisory, web
https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8advisory, mailing-list, vendor-advisory, web
http://www.openwall.com/lists/oss-security/2023/06/12/3advisory, mailing-list, third-party-advisory, web
http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.htmladvisory, third-party-advisory, vdb-entry, web
https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/advisory, third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2023-34468advisory, web
https://github.com/apache/nifi/pull/7349web
https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361web
https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468web
https://github.com/apache/nifipackage
https://issues.apache.org/jira/browse/NIFI-11653web
https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitationweb

Sources

SourceRecordLicence
CVE ListCVE-2023-34468 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-xm2m-2q6h-22jw changed 2025-09-15CC-BY-4.0
NVDCVE-2023-34468 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NIFI-2023-34468 changed 2026-09-08Apache-2.0