Skip to content
Fencer Intel
high 8.8

CVE-2023-34468 in the critical feed json

Apache NiFi: Potential Code Injection with Database Services using H2

published 3y ago modified 2mo ago also BIT-nifi-2023-34468 , EUVD-2023-1917 , GHSA-xm2m-2q6h-22jw

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
61.9%
EPSS 61.9% chance of exploitation in 30 days, percentile 99.1%
public exploits
1
Metasploit

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.

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.

Patch / fix

  • maven org.apache.nifi:nifi-dbcp-base 1.22.0
  • maven org.apache.nifi:nifi-hikari-dbcp-service 1.22.0
  • maven org.apache.nifi:nifi-dbcp-service-nar 1.22.0
  • bitnami nifi 1.22.0
  • apache nifi 1.22.0

Is CVE-2023-34468 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. First public exploit (Metasploit exploit/linux/http/apache_nifi_h2_rce)
  2. Published

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2y ago

Exploit prediction

61.87% chance of exploitation in the next 30 days, higher than 99.1% of all scored CVEs (FIRST EPSS, 2026-11-15).

Exploits and checks

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.nifi:nifi-dbcp-base
>=0.0.2, <1.22.0
1.22.0
maven org.apache.nifi:nifi-hikari-dbcp-service
>=0.0.2, <1.22.0
1.22.0
maven org.apache.nifi:nifi-dbcp-service-nar
>=0.0.2, <1.22.0
1.22.0
bitnami nifi
>=0.0.2, <1.22.0
1.22.0

Affected products

  • Apache Software Foundation Apache NiFi
  • apache nifi

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.