CVE-2023-40037Apache NiFi: Incomplete Validation of JDBC and JNDI Connection URLs
- 6.5MediumCVSS base score
- 2.1%Exploitation in 30 daysEPSS · top 18% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 10 days later
· 10 days later
Published
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 2.1% · top 18% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
Apache Software Foundation · Apache NiFi
- affected 1.21.0 – ≤ 1.23.0
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.nifi:nifi-dbcp-baseGHSA-23qf-3jf9-h3q9 (opens in a new tab)
- Mavenorg.apache.nifi:nifi-dbcp-service-apiGHSA-23qf-3jf9-h3q9 (opens in a new tab)
- Mavenorg.apache.nifi:nifi-dbcp-service-bundleGHSA-23qf-3jf9-h3q9 (opens in a new tab)
- Mavenorg.apache.nifi:nifi-jms-processorsGHSA-23qf-3jf9-h3q9 (opens in a new tab)
References
References3
- https://nifi.apache.org/security.html#CVE-2023-40037 (opens in a new tab)release-notesx_transferred
- https://lists.apache.org/thread/bqbjlrs2p5ghh8sbk5nsxb8xpf9l687q (opens in a new tab)vendor-advisoryx_transferred
- http://www.openwall.com/lists/oss-security/2023/08/18/2 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-2181 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-23qf-3jf9-h3q9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-40037)Record last updated .