Apache NiFi: Potential Code Injection with Database Services using H2
Summary
Apache NiFi: Potential Code Injection with Database Services using H2
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Affected packages
References
- advisory packetstormsecurity.com
- advisory openwall.com
- advisory lists.apache.org
- advisory nifi.apache.org
- advisory cyfirma.com
- web nvd.nist.gov