6.5medium
Apache NiFi: Incomplete Validation of JDBC and JNDI Connection URLs
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.08% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-23qf-3jf9-h3q9BIT-NIFI-2023-40037
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache NiFi | from 1.21.0 up to 1.23.0 | CVE List |
| org.apache.nifi:nifi-dbcp-base (Maven) | from 1.21.0 before 1.23.1 | GitHub Advisory Database |
| org.apache.nifi:nifi-jms-processors (Maven) | from 1.21.0 before 1.23.1 | GitHub Advisory Database |
| org.apache.nifi:nifi-dbcp-service-api (Maven) | from 1.21.0 before 1.23.1 | GitHub Advisory Database |
| org.apache.nifi:nifi-dbcp-service-bundle (Maven) | from 1.21.0 before 1.23.1 | GitHub Advisory Database |
| apache nifi | from 1.21.0 before 1.23.1 | NVD |
| nifi (Bitnami) | from 1.21.0 before 1.23.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
Apache NiFi 1.21.0 hasta 1.23.0 soportan accesos JDBC y JNDI JMS en varios procesadores y servicios de controlador con validación de URL de conexión que no proporciona suficiente protección contra entradas manipuladas. Un usuario autenticado y autorizado puede eludir la validación de URL de conexión utilizando un formato de entrada personalizado. La resolución mejora la validación de la URL de conexión e introduce la validación de propiedades relacionadas adicionales. Se recomienda actualizar a Apache NiFi 1.23.1.
References
| https://nifi.apache.org/security.html#CVE-2023-40037 | advisory, release-notes, vendor-advisory, web | |
| https://lists.apache.org/thread/bqbjlrs2p5ghh8sbk5nsxb8xpf9l687q | discussion, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2023/08/18/2 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-40037 | advisory, web | |
| https://github.com/apache/nifi/pull/7586 | web | |
| https://github.com/apache/nifi/commit/064550aacc189f39d7ddd2c0446068adf250f1bf | web | |
| https://github.com/apache/nifi | package | |
| https://issues.apache.org/jira/browse/NIFI-11920 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-40037 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-23qf-3jf9-h3q9 changed 2025-09-15 | CC-BY-4.0 |
| NVD | CVE-2023-40037 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NIFI-2023-40037 changed 2026-09-08 | Apache-2.0 |