# CVE-2022-34917: Apache Kafka vulnerability can lead to brokers hitting OutOfMemoryException, causing Denial of Service

Source: https://junglewise.ai/threats/cve-2022-34917-apache-kafka-vulnerability-can-lead-to-brokers-hitting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-21  
License: CC BY 4.0 with a link back

CVE-2022-34917 · Severity: low · CVSS 3.1 · Published 2022-09-21

Apache Kafka vulnerability can lead to brokers hitting OutOfMemoryException, causing Denial of Service

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

## Quick answers

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

**How severe is CVE-2022-34917?** Low severity, with a CVSS score of 3.1, published 21 September 2022.

**Which products and versions are affected?** org.apache.kafka:kafka (Maven) ECOSYSTEM:introduced=2.8.0,fixed=2.8.2.

**Is there a fix for CVE-2022-34917?** Yes. org.apache.kafka:kafka (Maven): upgrade to 2.8.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-34917?** Check whether you run org.apache.kafka:kafka (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.kafka:kafka (Maven): upgrade to 2.8.2 or later

  ```sh
  # set org.apache.kafka:kafka to 2.8.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.kafka:kafka (Maven) ECOSYSTEM:introduced=2.8.0,fixed=2.8.2

## Identifiers

- CVE-2022-34917
- GHSA-c9h3-c6qj-hh7q

## Related threats

- [Improper Input Validation in Apache Kafka](https://junglewise.ai/threats/cve-2018-17196-improper-input-validation-in-apache-kafka)
- [Improper Control of Generation of Code in Apache Kafka](https://junglewise.ai/threats/cve-2018-1288-improper-control-of-generation-of-code-in-apache-kafka)
- [Exposure of Sensitive Information to an Unauthorized Actor in Apache Kafka](https://junglewise.ai/threats/cve-2019-12399-exposure-of-sensitive-information-to-an-unauthorized-actor-in)
