# CVE-2023-34468: Apache NiFi vulnerable to Code Injection

Source: https://junglewise.ai/threats/cve-2023-34468-apache-nifi-vulnerable-to-code-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-06-12  
License: CC BY 4.0 with a link back

CVE-2023-34468 · Severity: low · CVSS 3.1 · Published 2023-06-12

Apache NiFi vulnerable to Code Injection

Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2023-34468?** Low severity, with a CVSS score of 3.1, published 12 June 2023.

**Which products and versions are affected?** org.apache.nifi:nifi-dbcp-base (Maven) ECOSYSTEM:introduced=0.0.2,fixed=1.22.0; org.apache.nifi:nifi-dbcp-service-nar (Maven) ECOSYSTEM:introduced=0.0.2,fixed=1.22.0; org.apache.nifi:nifi-hikari-dbcp-service (Maven) ECOSYSTEM:introduced=0.0.2,fixed=1.22.0.

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

**Am I affected by CVE-2023-34468?** Check whether you run org.apache.nifi:nifi-dbcp-base (Maven), org.apache.nifi:nifi-dbcp-service-nar (Maven) or org.apache.nifi:nifi-hikari-dbcp-service (Maven) 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.22.0 or later

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

- org.apache.nifi:nifi-dbcp-service-nar (Maven): upgrade to 1.22.0 or later

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

- org.apache.nifi:nifi-hikari-dbcp-service (Maven): upgrade to 1.22.0 or later

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


## Affected products

- org.apache.nifi:nifi-dbcp-base (Maven) ECOSYSTEM:introduced=0.0.2,fixed=1.22.0
- org.apache.nifi:nifi-dbcp-service-nar (Maven) ECOSYSTEM:introduced=0.0.2,fixed=1.22.0
- org.apache.nifi:nifi-hikari-dbcp-service (Maven) ECOSYSTEM:introduced=0.0.2,fixed=1.22.0

## Identifiers

- CVE-2023-34468
- GHSA-xm2m-2q6h-22jw

## Related threats

- [Apache NiFi Insufficient Property Validation vulnerability](https://junglewise.ai/threats/cve-2023-40037-apache-nifi-insufficient-property-validation-vulnerability)
- [Apache NiFi Code Injection vulnerability](https://junglewise.ai/threats/cve-2023-36542-apache-nifi-code-injection-vulnerability)
