CVE-2023-34468: Improper Control of Generation of Code ('Code Injection')
(updated )
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.
References
- www.openwall.com/lists/oss-security/2023/06/12/3
- github.com/advisories/GHSA-xm2m-2q6h-22jw
- github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361
- github.com/apache/nifi/pull/7349
- issues.apache.org/jira/browse/NIFI-11653
- lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8
- nifi.apache.org/security.html
- nvd.nist.gov/vuln/detail/CVE-2023-34468
Detect and mitigate CVE-2023-34468 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →