CVE-2023-40037
MEDIUM 6.5CVSS 3.1Apache NiFi Insufficient Property Validation vulnerability
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.
- Published
- 18 Aug 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-184CWE-697
- Also known as
- BIT-nifi-2023-40037GHSA-23qf-3jf9-h3q9
- Sources
- NVDJSONOSV GHSA-23qf-3jf9-h3q9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | nificpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:* |
>= 1.21.0, < 1.23.1 | 1.23.1 |
| OSV | Maven | org.apache.nifi:nifi-dbcp-base | >= 1.21.0, < 1.23.1 | 1.23.1 |
| OSV | Maven | org.apache.nifi:nifi-jms-processors | >= 1.21.0, < 1.23.1 | 1.23.1 |
| OSV | Maven | org.apache.nifi:nifi-dbcp-service-api | >= 1.21.0, < 1.23.1 | 1.23.1 |
| OSV | Maven | org.apache.nifi:nifi-dbcp-service-bundle | >= 1.21.0, < 1.23.1 | 1.23.1 |
References
- http://www.openwall.com/lists/oss-security/2023/08/18/2 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/bqbjlrs2p5ghh8sbk5nsxb8xpf9l687q · Mailing List, WEB
- https://nifi.apache.org/security.html#CVE-2023-40037 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40037 · ADVISORY
- 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
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 18 Aug 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Aug 2023)