{"cve":"CVE-2023-34468","nvd":{"published":"2023-06-12T16:15:10.130","modified":"2026-06-17T06:03:42.910","status":"Modified","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.\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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-94"],"references":["http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html","http://www.openwall.com/lists/oss-security/2023/06/12/3","https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8","https://nifi.apache.org/security.html#CVE-2023-34468","https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/"],"products":["apache:nifi"],"source":"nvd","synced_at":"2026-10-19T21:38:24.161619714+00:00"},"epss":{"cve":"CVE-2023-34468","score":0.61869,"percentile":0.99174,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xm2m-2q6h-22jw","url":"https://osv.dev/vulnerability/GHSA-xm2m-2q6h-22jw","summary":"Apache NiFi vulnerable to Code Injection","modified":"2025-09-15T07:42:17.449987Z","packages":[{"ecosystem":"Maven","name":"org.apache.nifi:nifi-dbcp-base","purl":"pkg:maven/org.apache.nifi/nifi-dbcp-base","ranges":[">=0.0.2 <1.22.0"],"fixed":["1.22.0"]},{"ecosystem":"Maven","name":"org.apache.nifi:nifi-hikari-dbcp-service","purl":"pkg:maven/org.apache.nifi/nifi-hikari-dbcp-service","ranges":[">=0.0.2 <1.22.0"],"fixed":["1.22.0"]},{"ecosystem":"Maven","name":"org.apache.nifi:nifi-dbcp-service-nar","purl":"pkg:maven/org.apache.nifi/nifi-dbcp-service-nar","ranges":[">=0.0.2 <1.22.0"],"fixed":["1.22.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}