Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers
CVE-2022-34917

7.5HIGH

Key Information:

Vendor
Apache
Vendor
CVE Published:
20 September 2022

Summary

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.

Affected Version(s)

Apache Kafka Apache Kafka 2.8.0 2.8.0

Apache Kafka Apache Kafka 2.8.1 2.8.1

Apache Kafka Apache Kafka 3.0.0 3.0.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Apache Kafka would like to thank Mickael Maison, Tom Bentley and Daniel Collins for reporting this issue.
.