CVE-2023-40037
JSON

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 packageVersionsReported by
Apache Software Foundation Apache NiFifrom 1.21.0 up to 1.23.0CVE List
org.apache.nifi:nifi-dbcp-base (Maven)from 1.21.0 before 1.23.1GitHub Advisory Database
org.apache.nifi:nifi-jms-processors (Maven)from 1.21.0 before 1.23.1GitHub Advisory Database
org.apache.nifi:nifi-dbcp-service-api (Maven)from 1.21.0 before 1.23.1GitHub Advisory Database
org.apache.nifi:nifi-dbcp-service-bundle (Maven)from 1.21.0 before 1.23.1GitHub Advisory Database
apache nififrom 1.21.0 before 1.23.1NVD
nifi (Bitnami)from 1.21.0 before 1.23.1Bitnami Vulnerability Database

All scores

GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-184CWE-697

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2023-40037 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-23qf-3jf9-h3q9 changed 2025-09-15CC-BY-4.0
NVDCVE-2023-40037 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NIFI-2023-40037 changed 2026-09-08Apache-2.0