8.8

CVE-2023-34468: Apache NiFi: Potential Code Injection with Database Services using H2

Modified
AliasesGHSA-xm2m-2q6h-22jwBIT-nifi-2023-34468
Published 12-06-2023Last modified 13-02-2025

Vulnerability summary

CVE-2023-34468 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in apache software foundation apache nifi. EPSS estimates a 61.87% chance of exploitation in the next 30 days, higher than 99.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 12-06-2023)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
61.87%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1metasploit

Timeline

  1. 12-06-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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. 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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

61.87%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

No change 0.00 pp

From 61.87% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • MetasploitMetasploitremoteVerified

    Apache NiFi H2 Connection String Remote Code Execution

    exploit/linux/http/apache_nifi_h2_rce

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Org.apache.nifi3 products
  • nifi-dbcp-base≥ 0.0.2, < 1.22.0
  • nifi-dbcp-service-nar≥ 0.0.2, < 1.22.0
  • nifi-hikari-dbcp-service≥ 0.0.2, < 1.22.0
Apache1 product
  • nifi≥ 0.0.2, < 1.22.0
Apache software foundation1 product

3 vendors · 5 products

References

12 links
Show all 12 references