CVE-2023-40037: apache software foundation apache nifi Incomplete List of Disallowed Inputs
Vulnerability summary
CVE-2023-40037 is a medium (CVSS 6.5) Incomplete List of Disallowed Inputs vulnerability in apache software foundation apache nifi. EPSS estimates a 2.08% chance of exploitation in the next 30 days, higher than 81.2% of scored vulnerabilities.
Timeline
- 18-08-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- OSV · MavenEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
2.08%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
-0.02 pp
From 2.10% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-184Incomplete List of Disallowed InputsThe product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.
- CWE-697Incorrect ComparisonThe product compares two entities in a security-relevant context, but the comparison is incorrect.
Affected systems
Org.apache.nifi4 products
- nifi-dbcp-base≥ 1.21.0, < 1.23.1
- nifi-dbcp-service-api≥ 1.21.0, < 1.23.1
- nifi-dbcp-service-bundle≥ 1.21.0, < 1.23.1
- nifi-jms-processors≥ 1.21.0, < 1.23.1
Apache1 product
- nifi≥ 1.21.0, < 1.23.1
Apache software foundation1 product
- apache nifi≥ 1.21.0, ≤ 1.23.0
3 vendors · 6 products
References
8 links- github.com/apache/nifiPACKAGE