# CVE-2023-40037: Apache NiFi Insufficient Property Validation vulnerability

Source: https://junglewise.ai/threats/cve-2023-40037-apache-nifi-insufficient-property-validation-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-08-19  
License: CC BY 4.0 with a link back

CVE-2023-40037 · Severity: low · CVSS 3.1 · Published 2023-08-19

Apache NiFi Insufficient Property Validation vulnerability

Technologies: [org.apache.nifi:nifi-jms-processors (Maven)](https://junglewise.ai/threats/technologies/org-apache-nifi-nifi-jms-processors). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-40037 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-40037 being exploited in the wild.

**How severe is CVE-2023-40037?** Low severity, with a CVSS score of 3.1, published 19 August 2023.

**Which products and versions are affected?** org.apache.nifi:nifi-dbcp-base (Maven) ECOSYSTEM:introduced=1.21.0,fixed=1.23.1; org.apache.nifi:nifi-dbcp-service-api (Maven) ECOSYSTEM:introduced=1.21.0,fixed=1.23.1; org.apache.nifi:nifi-dbcp-service-bundle (Maven) ECOSYSTEM:introduced=1.21.0,fixed=1.23.1; org.apache.nifi:nifi-jms-processors (Maven) ECOSYSTEM:introduced=1.21.0,fixed=1.23.1.

**Is there a fix for CVE-2023-40037?** Yes. org.apache.nifi:nifi-dbcp-base (Maven): upgrade to 1.23.1 or later; org.apache.nifi:nifi-dbcp-service-api (Maven): upgrade to 1.23.1 or later; org.apache.nifi:nifi-dbcp-service-bundle (Maven): upgrade to 1.23.1 or later; org.apache.nifi:nifi-jms-processors (Maven): upgrade to 1.23.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-40037?** Check whether you run org.apache.nifi:nifi-dbcp-base (Maven), org.apache.nifi:nifi-dbcp-service-api (Maven), org.apache.nifi:nifi-dbcp-service-bundle (Maven) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.nifi:nifi-dbcp-base (Maven): upgrade to 1.23.1 or later

  ```sh
  # set org.apache.nifi:nifi-dbcp-base to 1.23.1 in your pom.xml or build.gradle
  ```

- org.apache.nifi:nifi-dbcp-service-api (Maven): upgrade to 1.23.1 or later

  ```sh
  # set org.apache.nifi:nifi-dbcp-service-api to 1.23.1 in your pom.xml or build.gradle
  ```

- org.apache.nifi:nifi-dbcp-service-bundle (Maven): upgrade to 1.23.1 or later

  ```sh
  # set org.apache.nifi:nifi-dbcp-service-bundle to 1.23.1 in your pom.xml or build.gradle
  ```

- org.apache.nifi:nifi-jms-processors (Maven): upgrade to 1.23.1 or later

  ```sh
  # set org.apache.nifi:nifi-jms-processors to 1.23.1 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.nifi:nifi-dbcp-base (Maven) ECOSYSTEM:introduced=1.21.0,fixed=1.23.1
- org.apache.nifi:nifi-dbcp-service-api (Maven) ECOSYSTEM:introduced=1.21.0,fixed=1.23.1
- org.apache.nifi:nifi-dbcp-service-bundle (Maven) ECOSYSTEM:introduced=1.21.0,fixed=1.23.1
- org.apache.nifi:nifi-jms-processors (Maven) ECOSYSTEM:introduced=1.21.0,fixed=1.23.1

## Identifiers

- CVE-2023-40037
- GHSA-23qf-3jf9-h3q9

## Related threats

- [Apache NiFi Code Injection vulnerability](https://junglewise.ai/threats/cve-2023-36542-apache-nifi-code-injection-vulnerability)
- [Apache NiFi vulnerable to Code Injection](https://junglewise.ai/threats/cve-2023-34468-apache-nifi-vulnerable-to-code-injection)
- [Apache NiFi vulnerable to Deserialization of Untrusted Data](https://junglewise.ai/threats/cve-2023-34212-apache-nifi-vulnerable-to-deserialization-of-untrusted-data)
