{"id":"CVE-2023-34468","aliases":["CVE-2023-34468","GHSA-xm2m-2q6h-22jw","BIT-NIFI-2023-34468"],"related":[],"kind":"vulnerability","state":"published","title":"Apache NiFi: Potential Code Injection with Database Services using H2","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-06-12T15:09:20.711Z","modified":"2026-09-08T08:48:16.922Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.2","lastAffected":"1.21.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache NiFi","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0.0.2","lastAffected":"1.21.0","status":"affected"}],"vendor":"apache","product":"nifi","cpe":"cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.0.2","status":"affected","fixed":"1.22.0"}],"ecosystem":"Maven","package":"org.apache.nifi:nifi-dbcp-base","purl":"pkg:maven/org.apache.nifi/nifi-dbcp-base","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.0.2","status":"affected","fixed":"1.22.0"}],"ecosystem":"Maven","package":"org.apache.nifi:nifi-hikari-dbcp-service","purl":"pkg:maven/org.apache.nifi/nifi-hikari-dbcp-service","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.0.2","status":"affected","fixed":"1.22.0"}],"ecosystem":"Maven","package":"org.apache.nifi:nifi-dbcp-service-nar","purl":"pkg:maven/org.apache.nifi/nifi-dbcp-service-nar","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.0.2","fixed":"1.22.0"}],"vendor":"apache","product":"nifi","cpe":"cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0.0.2","status":"affected","fixed":"1.22.0"}],"ecosystem":"Bitnami","package":"nifi","purl":"pkg:bitnami/nifi","source":"bitnami"}],"references":[{"url":"https://nifi.apache.org/security.html#CVE-2023-34468","tags":["advisory","release-notes","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8","tags":["advisory","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2023/06/12/3","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html","tags":["advisory","third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34468","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/nifi/pull/7349","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361","tags":["web"],"sources":["ghsa"]},{"url":"https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/nifi","tags":["package"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/NIFI-11653","tags":["web"],"sources":["ghsa"]},{"url":"https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation","tags":["web"],"sources":["ghsa"]}],"credits":["Matei \"Mal\" Badanoiu"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-10-08T20:21:50.926Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34468","url":"https://www.cve.org/CVERecord?id=CVE-2023-34468","licence":"CVE Terms of Use","modified":"2025-02-13T16:55:36.706Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xm2m-2q6h-22jw","url":"https://github.com/advisories/GHSA-xm2m-2q6h-22jw","licence":"CC-BY-4.0","modified":"2025-09-15T07:42:17.449Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34468","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34468","licence":"Public domain","modified":"2026-06-17T06:03:42.910Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NIFI-2023-34468","url":"https://osv.dev/vulnerability/BIT-NIFI-2023-34468","licence":"Apache-2.0","modified":"2026-09-08T08:48:16.922Z"}],"updatedAt":"2026-11-25T22:58:24.743Z","epss":{"score":0.61869,"percentile":0.9919,"date":"2026-12-01T12:00:22.000Z"}}