Vulnerability · Published Aug 18, 2023 · Assigned by apache

CVE-2023-40037Apache NiFi: Incomplete Validation of JDBC and JNDI Connection URLs

Medium 6.5

In plain English

A medium-severity security flaw in Apache NiFi from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)2.1%top 18.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.nifi:nifi-dbcp-base1.23.1GHSA-23qf-3jf9-h3q9
Mavenorg.apache.nifi:nifi-dbcp-service-api1.23.1GHSA-23qf-3jf9-h3q9
Mavenorg.apache.nifi:nifi-dbcp-service-bundle1.23.1GHSA-23qf-3jf9-h3q9
Mavenorg.apache.nifi:nifi-jms-processors1.23.1GHSA-23qf-3jf9-h3q9

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache NiFi 1.21.0 – through 1.23.0

Weakness: CWE-184

References