CVE-2023-40037 Apache NiFi
| Affected software | Apache NiFi |
|---|---|
| Severity | 6.5 Medium CVSS 3.1 |
| Fixed in | 1.23.1 |
| Weakness | CWE-184 |
| Published | 18 Aug 2023 |
| Updated | 17 Jun 2026 |
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.
CWE-697
Exploitation status
No public exploit
No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC 1 indexed, none at 5+ stars
- EPSS 2.1% chance in 30 days
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | CVE-2023-40037: Incomplete Validation of JDBC and JNDI Connection URLs in Apache NiFi | 2023-11-23 |
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: apache/nifi #7586.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory |
|---|---|
| Finding | This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain. |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.nifi:nifi-dbcp-base |
1.21.0 | 1.23.1 |
unbounded |
org.apache.nifi:nifi-jms-processors |
1.21.0 | 1.23.1 |
unbounded |
org.apache.nifi:nifi-dbcp-service-api |
1.21.0 | 1.23.1 |
unbounded |
org.apache.nifi:nifi-dbcp-service-bundle |
1.21.0 | 1.23.1 |
unbounded |
Products and versions
5 products, 5 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | nifi | generic | ≥ 1.21.0 and < 1.23.1 |
| osv | org.apache.nifi | nifi-dbcp-base | generic | ≥ 1.21.0 and < 1.23.1 |
| osv | org.apache.nifi | nifi-dbcp-service-api | generic | ≥ 1.21.0 and < 1.23.1 |
| osv | org.apache.nifi | nifi-dbcp-service-bundle | generic | ≥ 1.21.0 and < 1.23.1 |
| osv | org.apache.nifi | nifi-jms-processors | generic | ≥ 1.21.0 and < 1.23.1 |
References
Timeline
Timeline
| Published | 2023-08-18 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |