| Package | Affected versions | Patched versions |
|---|---|---|
| org.apache.nifi:nifi-dbcp-base | ≥ 0.0.2, < 1.22.0 | 1.22.0 |
| org.apache.nifi:nifi-dbcp-service-nar | ≥ 0.0.2, < 1.22.0 | 1.22.0 |
| org.apache.nifi:nifi-hikari-dbcp-service | ≥ 0.0.2, < 1.22.0 | 1.22.0 |
| nifi | ≥ 0.0.2, < 1.22.0 | 1.22.0 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free