Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.nifi/nifi
  4. ›
  5. CVE-2023-34468

CVE-2023-34468: Improper Control of Generation of Code ('Code Injection')

June 12, 2023 (updated October 3, 2023)

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
  • lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8
  • nifi.apache.org/security.html
  • nvd.nist.gov/vuln/detail/CVE-2023-34468

Code Behaviors & Features

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 →

Affected versions

All versions starting from 0.0.2 before 1.22.0

Fixed versions

  • 1.22.0

Solution

Upgrade to version 1.22.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.apache.nifi/nifi/CVE-2023-34468.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.