High, CVSS 8.8MavenPublished
Apache NiFi vulnerable to Code Injection
CVE-2023-34468 · GHSA-xm2m-2q6h-22jw
- Affected
- Maven org.apache.nifi:nifi-dbcp-service-nar >= 0.0.2, < 1.22.0
- Fixed in
- 1.22.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.22.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.