CVE-2023-40037Apache Nifi
Medium 6.5
Follow: this CVE · Apache · Apache Nifi We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 77
- Auth required
- Yes
- Published
- Aug 18, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Nifi.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.nifi:nifi-dbcp-base |
≥ 1.21.0 < 1.23.1 |
1.23.1 |
— |
| Maven | org.apache.nifi:nifi-dbcp-service-api |
≥ 1.21.0 < 1.23.1 |
1.23.1 |
— |
| Maven | org.apache.nifi:nifi-dbcp-service-bundle |
≥ 1.21.0 < 1.23.1 |
1.23.1 |
— |
| Maven | org.apache.nifi:nifi-jms-processors |
≥ 1.21.0 < 1.23.1 |
1.23.1 |
— |
Per OSV / GitHub Advisories (GHSA-23qf-3jf9-h3q9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | nifi | ≥ 1.21.0 < 1.23.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org Mailing List
- nifi.apache.org Vendor Advisory