Apache NiFi: Potential Code Injection with Database Services using H2
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-34468
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:28 UTC · Revision 1
Source evidence
Apache NiFi: Potential Code Injection with Database Services using H2
core-osv · Original sourcePublished 12 Jun 2023, 15:09 UTC
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.
osv:CVE-2023-34468
Complete source record
{
"id": "eeb29f9d8ddd44f2c8d8098c4b2cfd8e82eb1d557fcf52731ea2f85d77bcf549",
"url": "https://osv.dev/vulnerability/CVE-2023-34468",
"method": "structured",
"payload": {
"kind": "advisory",
"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. 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.",
"evidence": "osv:CVE-2023-34468",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-34468",
"aliases": [
"BIT-nifi-2023-34468",
"CVE-2023-34468",
"GHSA-xm2m-2q6h-22jw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/nifi",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "71e3ea9f2c58d0cf2ce6824c388f2bd3e917dfc8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "1.22.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"rel/nifi-1.20.0",
"nifi-1.20.0-RC1",
"rel/nifi-1.2.0",
"nifi-1.2.0-RC2",
"docker/nifi-1.2.0",
"rel/nifi-1.1.0",
"nifi-1.1.0-RC2",
"nifi-0.6.0-RC2",
"nifi-0.6.0",
"nifi-0.4.1-RC1",
"nifi-0.4.1",
"nifi-0.2.0-incubating-RC1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34468.json"
}
}
],
"modified": "2026-10-28T02:30:45.956807202Z",
"provider": "osv",
"references": [
"https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34468.json",
"https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8",
"https://nifi.apache.org/security.html#CVE-2023-34468",
"https://nvd.nist.gov/vuln/detail/CVE-2023-34468"
],
"provider_metadata": {
"cwe_ids": [
"CWE-94"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "0.0.2"
},
{
"last_affected": "1.21.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34468.json"
}
},
"related_cves": [
{
"value": "CVE-2023-34468",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514273,
"published_at": "2023-06-12T15:09:20.711+00:00"
}