{"schemaVersion":3,"id":"CVE-2023-34468","aliases":["GHSA-xm2m-2q6h-22jw","BIT-nifi-2023-34468"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-06-12T15:09:20.711Z","modified":"2025-02-13T16:55:36.706Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.61869,"percentile":0.99168,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.61869},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.61869,"percentile":0.99168}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.61869,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.61869,"percentile":0.99168}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_EXPLOIT_LINUX_HTTP_APACHE_NIFI_H2_RCE","name":"Apache NiFi H2 Connection String Remote Code Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/apache_nifi_h2_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/apache_nifi_h2_rce","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs","config-changes","artifacts-on-disk"],"reliability":["repeatable-session"]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"apache software foundation","product":"apache nifi","name":"Apache NiFi","label":"apache nifi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.0.2, ≤ 1.21.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, ≤ 1.21.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_nifi"},{"vendor":"apache","product":"nifi","name":"nifi","label":"nifi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.0.2, < 1.22.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.22.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-nifi","label":"Apache NiFi","category":"server-app"}},"hubHref":"/vendor/apache/nifi"},{"vendor":"org.apache.nifi","product":"nifi-dbcp-base","name":"org.apache.nifi:nifi-dbcp-base","label":"nifi-dbcp-base","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-dbcp-base","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.22.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.22.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-dbcp-service-nar","name":"org.apache.nifi:nifi-dbcp-service-nar","label":"nifi-dbcp-service-nar","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-dbcp-service-nar","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.22.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.22.0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-hikari-dbcp-service","name":"org.apache.nifi:nifi-hikari-dbcp-service","label":"nifi-hikari-dbcp-service","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-hikari-dbcp-service","purlType":"maven","versions":[{"text":"≥ 0.0.2, < 1.22.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.2, < 1.22.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nifi.apache.org/security.html#CVE-2023-34468","label":"nifi.apache.org/security.html","hostname":"nifi.apache.org","tags":["Release Notes","WEB","Vendor Advisory"]},{"url":"https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8","label":"lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2023/06/12/3","label":"www.openwall.com/lists/oss-security/2023/06/12/3","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["WEB","Third Party Advisory","VDB Entry"]},{"url":"https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/","label":"www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/","hostname":"www.cyfirma.com","tags":["Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34468","label":"nvd.nist.gov/vuln/detail/CVE-2023-34468","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/nifi/pull/7349","label":"github.com/apache/nifi/pull/7349","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361","label":"github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361","hostname":"github.com","tags":["WEB"]},{"url":"https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468","label":"exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468","hostname":"exceptionfactory.com","tags":["WEB"]},{"url":"https://github.com/apache/nifi","label":"github.com/apache/nifi","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://issues.apache.org/jira/browse/NIFI-11653","label":"issues.apache.org/jira/browse/NIFI-11653","hostname":"issues.apache.org","tags":["WEB"]},{"url":"https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation","label":"www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation","hostname":"www.cyfirma.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-06-12T15:09:20.711Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T16:55:36.706Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":58,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:15:15.100Z","stale":false,"partial":false}}