WaratekVRT Sign in

CVE-2023-40037 Apache NiFi

Affected softwareApache NiFi
Severity6.5 Medium CVSS 3.1
Fixed in1.23.1
WeaknessCWE-184
Published18 Aug 2023
Updated17 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.

  • 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

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2023-40037: Incomplete Validation of JDBC and JNDI Connection URLs in Apache NiFi 2023-11-23

Waratek protection

No exploit published

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
PackageIntroducedFixedLast 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
SourceVendorProductSchemeAffected 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

URLTags
https://github.com/apache/nifi/pull/7586 WEB
https://github.com/apache/nifi/commit/064550aacc189f39d7ddd2c0446068adf250f1bf WEB
https://github.com/apache/nifi PACKAGE
https://issues.apache.org/jira/browse/NIFI-11920 WEB
https://lists.apache.org/thread/bqbjlrs2p5ghh8sbk5nsxb8xpf9l687q WEB
https://nifi.apache.org/security.html#CVE-2023-40037 WEB
http://www.openwall.com/lists/oss-security/2023/08/18/2 WEB

Timeline

Published2023-08-18By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.