{"id":"CVE-2023-34468","summary":"Apache NiFi: Potential Code Injection with Database Services using H2","details":"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.\n\nThe resolution validates the Database URL and rejects H2 JDBC locations.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.","aliases":["BIT-nifi-2023-34468","GHSA-xm2m-2q6h-22jw"],"modified":"2026-08-12T03:51:18.683338215Z","published":"2023-06-12T15:09:20.711Z","database_specific":{"cna_assigner":"apache","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34468.json","unresolved_ranges":[{"extracted_events":[{"introduced":"0.0.2"},{"last_affected":"1.21.0"}],"source":"AFFECTED_FIELD"},{"extracted_events":[{"introduced":"0.0.2"},{"fixed":"1.21.0"}],"source":"DESCRIPTION"}]},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/06/12/3"},{"type":"WEB","url":"https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34468.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8"},{"type":"ADVISORY","url":"https://nifi.apache.org/security.html#CVE-2023-34468"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34468"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/nifi","events":[{"introduced":"0"},{"fixed":"71e3ea9f2c58d0cf2ce6824c388f2bd3e917dfc8"}],"database_specific":{"extracted_events":[{"introduced":"0.0.2"},{"fixed":"1.22.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*"}}],"versions":["rel/nifi-1.20.0","nifi-1.20.0-RC1","rel/nifi-1.2.0","nifi-1.2.0-RC2","docker/nifi-1.2.0","rel/nifi-1.1.0","nifi-1.1.0-RC2","nifi-0.6.0-RC2","nifi-0.6.0","nifi-0.4.1-RC1","nifi-0.4.1","nifi-0.2.0-incubating-RC1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34468.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}