{"id":"CVE-2022-34917","published":"2022-09-20T08:35:07Z","modified":"2025-05-29T13:39:10Z","title":"Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers","vendor":"Apache","product":"Apache Kafka","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01596,"percentile":0.76332,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://kafka.apache.org/cve-list","tags":["x_refsource_MISC"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":15.27},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Kafka","versions":["Apache Kafka 2.8.0 2.8.0","Apache Kafka 2.8.1 2.8.1","Apache Kafka 3.0.0 3.0.0","Apache Kafka 3.0.1 3.0.1","Apache Kafka 3.1.0 3.1.0","Apache Kafka 3.1.1 3.1.1","Apache Kafka 3.2.0 3.2.0","Apache Kafka 3.2.1 3.2.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-29T13:38:30.998207Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.kafka:kafka","vulnerableRanges":[">=2.8.0, <2.8.2",">=3.0.0, <3.0.2",">=3.1.0, <3.1.2",">=3.2.0, <3.2.3"],"patched":["2.8.2","3.0.2","3.1.2","3.2.3"],"from":["GHSA-c9h3-c6qj-hh7q"],"provenance":"source"}],"summary":{"text":"A memory allocation flaw in Apache Kafka's broker component lets clients allocate excessive amounts of memory, which can make brokers throw OutOfMemoryError and stop serving requests. An attacker needs only a network connection to the broker, and the attack needs no authentication on clusters without authentication or with SASL, while on clusters using TLS authentication only clients that authenticate successfully via TLS can trigger it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:02Z"},"euvd":{"id":"EUVD-2022-6777","exploited":false,"provenance":"source"}}