CVE-2022-34917

Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers

Description

A security vulnerability has been identified in Apache Kafka. It affects all releases since 2.8.0. The vulnerability allows malicious unauthenticated clients to allocate large amounts of memory on brokers. This can lead to brokers hitting OutOfMemoryException and causing denial of service. Example scenarios: - Kafka cluster without authentication: Any clients able to establish a network connection to a broker can trigger the issue. - Kafka cluster with SASL authentication: Any clients able to establish a network connection to a broker, without the need for valid SASL credentials, can trigger the issue. - Kafka cluster with TLS authentication: Only clients able to successfully authenticate via TLS can trigger the issue. We advise the users to upgrade the Kafka installations to one of the 3.2.3, 3.1.2, 3.0.2, 2.8.2 versions.

Categories

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.04%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Kafka
Published at:
Updated at:

References

Link Tags
https://kafka.apache.org/cve-list vendor advisory

Frequently Asked Questions

What is the severity of CVE-2022-34917?
CVE-2022-34917 has been scored as a high severity vulnerability.
How to fix CVE-2022-34917?
To fix CVE-2022-34917, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-34917 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-34917 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-34917?
CVE-2022-34917 affects Apache Software Foundation Apache Kafka.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.