CVE-2023-40037

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductApache Nifi
PublishedAug 18, 2023
First seenAug 18, 2023
Weakness typeCWE-184CWE-184

How to fix

Update
  • apache nifi1.23.1 or later
  • org.apache.nifi:nifi-dbcp-base1.23.1 or later
  • org.apache.nifi:nifi-jms-processors1.23.1 or later
  • org.apache.nifi:nifi-dbcp-service-api1.23.1 or later
  • org.apache.nifi:nifi-dbcp-service-bundle1.23.1 or later

Affected products

ProductAffected versionsFixed in
apache nifi1.21.0 ≤ v < 1.23.11.23.1
org.apache.nifi:nifi-dbcp-baseMaven1.21.0 ≤ v < 1.23.11.23.1
org.apache.nifi:nifi-jms-processorsMaven1.21.0 ≤ v < 1.23.11.23.1
org.apache.nifi:nifi-dbcp-service-apiMaven1.21.0 ≤ v < 1.23.11.23.1
org.apache.nifi:nifi-dbcp-service-bundleMaven1.21.0 ≤ v < 1.23.11.23.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.