Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS14bTJtLTJxNmgtMjJqd84AAzyM

Apache NiFi vulnerable to Code Injection

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.

Permalink: https://github.com/advisories/GHSA-xm2m-2q6h-22jw
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14bTJtLTJxNmgtMjJqd84AAzyM
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 11 months ago
Updated: about 1 month ago


CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-xm2m-2q6h-22jw, CVE-2023-34468
References: Repository: https://github.com/apache/nifi
Blast Radius: 16.9

Affected Packages

maven:org.apache.nifi:nifi-dbcp-service-nar
Dependent packages: 6
Dependent repositories: 83
Downloads:
Affected Version Ranges: >= 0.0.2, < 1.22.0
Fixed in: 1.22.0
All affected versions: 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.9.0, 1.9.1, 1.9.2, 1.10.0, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.2, 1.14.0, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.17.0, 1.18.0, 1.19.0, 1.19.1, 1.20.0, 1.21.0
All unaffected versions: 1.22.0, 1.23.0, 1.23.1, 1.23.2, 1.24.0, 1.25.0, 1.26.0
maven:org.apache.nifi:nifi-hikari-dbcp-service
Dependent packages: 1
Dependent repositories: 36
Downloads:
Affected Version Ranges: >= 0.0.2, < 1.22.0
Fixed in: 1.22.0
All affected versions: 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.17.0, 1.18.0, 1.19.0, 1.19.1, 1.20.0, 1.21.0
All unaffected versions: 1.22.0, 1.23.0, 1.23.1, 1.23.2, 1.24.0, 1.25.0
maven:org.apache.nifi:nifi-dbcp-base
Dependent packages: 3
Dependent repositories: 17
Downloads:
Affected Version Ranges: >= 0.0.2, < 1.22.0
Fixed in: 1.22.0
All affected versions: 1.19.0, 1.19.1, 1.20.0, 1.21.0
All unaffected versions: 1.22.0, 1.23.0, 1.23.1, 1.23.2, 1.24.0, 1.25.0