Apache NiFi vulnerable to Code Injection
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.nifi:nifi-dbcp-base | >= 0.0.2, < 1.22.0 | 1.22.0 |
| Java / Kotlin (Maven) | org.apache.nifi:nifi-dbcp-service-nar | >= 0.0.2, < 1.22.0 | 1.22.0 |
| Java / Kotlin (Maven) | org.apache.nifi:nifi-hikari-dbcp-service | >= 0.0.2, < 1.22.0 | 1.22.0 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2023-34468
- https://github.com/apache/nifi/pull/7349
- https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361
- https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468
- https://github.com/apache/nifi
- https://issues.apache.org/jira/browse/NIFI-11653
- https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8
- https://nifi.apache.org/security.html#CVE-2023-34468
- https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation
- http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2023/06/12/3
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-94- Plattform
- Java / Kotlin (Maven)
- Paket
org.apache.nifi:nifi-dbcp-base, org.apache.nifi:nifi-dbcp-service-nar, org.apache.nifi:nifi-hikari-dbcp-service- Veröffentlicht
- 12.06.2023
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-xm2m-2q6h-22jw - CC BY 4.0
Schwachstellenhistorie: org.apache.nifi:nifi-dbcp-service-nar
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.