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-22jwJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14bTJtLTJxNmgtMjJqd84AAzyM
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 1 year ago
Updated: 7 months 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:
- https://nvd.nist.gov/vuln/detail/CVE-2023-34468
- https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8
- https://nifi.apache.org/security.html#CVE-2023-34468
- https://github.com/apache/nifi/pull/7349
- https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361
- https://issues.apache.org/jira/browse/NIFI-11653
- http://www.openwall.com/lists/oss-security/2023/06/12/3
- http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html
- https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468
- https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation
- https://github.com/advisories/GHSA-xm2m-2q6h-22jw
Blast Radius: 16.9
Affected Packages
maven:org.apache.nifi:nifi-dbcp-service-nar
Dependent packages: 6Dependent 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, 1.27.0, 1.28.0, 2.0.0
maven:org.apache.nifi:nifi-hikari-dbcp-service
Dependent packages: 1Dependent 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, 1.26.0, 1.27.0
maven:org.apache.nifi:nifi-dbcp-base
Dependent packages: 3Dependent 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, 1.26.0, 1.27.0, 1.28.0, 2.0.0