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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.kafka:kafkaMaven | >= 2.8.0, < 2.8.2 | 2.8.2 |
org.apache.kafka:kafkaMaven | >= 3.0.0, < 3.0.2 | 3.0.2 |
org.apache.kafka:kafkaMaven | >= 3.1.0, < 3.1.2 | 3.1.2 |
org.apache.kafka:kafkaMaven | >= 3.2.0, < 3.2.3 | 3.2.3 |
Affected products
3- osv-coords2 versions
>= 2.8.0, < 2.8.2+ 1 more
- (no CPE)range: >= 2.8.0, < 2.8.2
- (no CPE)range: >= 2.8.0, < 2.8.2
- Apache Software Foundation/Apache Kafkav5Range: Apache Kafka 2.8.0 2.8.0
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-c9h3-c6qj-hh7qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-34917ghsaADVISORY
- github.com/apache/kafka/commit/14951a83e3fdead212156e5532359500d72f68bcghsaWEB
- github.com/apache/kafka/commit/2bfa24b2bd416e7b8c4a0c566b984c43904fdecbghsaWEB
- github.com/apache/kafka/commit/aaceb6b79bfcb1d32874ccdbc8f3138d1c1c00fbghsaWEB
- github.com/apache/kafka/commit/c1295662768e64b4467e27c3d5158f95f2307657ghsaWEB
- issues.apache.org/jira/browse/KAFKA-14063ghsaWEB
- kafka.apache.org/cve-listghsax_refsource_MISCWEB
- kafka.apache.org/cve-listghsaWEB
News mentions
0No linked articles in our index yet.