Apache NiFi Insufficient Property Validation vulnerability
Apache NiFi 1.21.0 through 1.23.0 support JDBC and JNDI JMS access in several Processors and Controller Services with connection URL validation that does not provide sufficient protection against crafted inputs. An authenticated and authorized user can bypass connection URL validation using custom input formatting. The resolution enhances connection URL validation and introduces validation for additional related properties. Upgrading to Apache NiFi 1.23.1 is the recommended mitigation.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.nifi:nifi-dbcp-base | >= 1.21.0, < 1.23.1 | 1.23.1 |
| Java / Kotlin (Maven) | org.apache.nifi:nifi-dbcp-service-api | >= 1.21.0, < 1.23.1 | 1.23.1 |
| Java / Kotlin (Maven) | org.apache.nifi:nifi-dbcp-service-bundle | >= 1.21.0, < 1.23.1 | 1.23.1 |
| Java / Kotlin (Maven) | org.apache.nifi:nifi-jms-processors | >= 1.21.0, < 1.23.1 | 1.23.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-40037
- https://github.com/apache/nifi/pull/7586
- https://github.com/apache/nifi/commit/064550aacc189f39d7ddd2c0446068adf250f1bf
- https://github.com/apache/nifi
- https://issues.apache.org/jira/browse/NIFI-11920
- https://lists.apache.org/thread/bqbjlrs2p5ghh8sbk5nsxb8xpf9l687q
- https://nifi.apache.org/security.html#CVE-2023-40037
- http://www.openwall.com/lists/oss-security/2023/08/18/2
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-184, CWE-697- Platform
- Java / Kotlin (Maven)
- Package
org.apache.nifi:nifi-dbcp-base, org.apache.nifi:nifi-dbcp-service-api, org.apache.nifi:nifi-dbcp-service-bundle- Disclosed
- 19.08.2023
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-23qf-3jf9-h3q9 - CC BY 4.0
Vulnerability history: org.apache.nifi:nifi-dbcp-service-api
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.