{"answers":{"affected":"9 open source packages ship an affected version, including org.apache.kafka:kafka and kafka. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-34917 in the wild and no public exploit code.","fix":"Upgrade org.apache.kafka:kafka to a fixed version for your release line: 2.8.2, 3.0.2, 3.1.2 or 3.2.3.","what":"CVE-2022-34917 is a high-severity denial of service vulnerability in Apache Kafka, published on 20 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-34917 and fix it if it is affected.\n\nWhat it is: CVE-2022-34917 is a high-severity denial of service vulnerability in Apache Kafka, published on 20 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-34917 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.kafka:kafka (Maven): affected from 2.8.0; fixed in 2.8.2\n- org.apache.kafka:kafka (Maven): affected from 2.8.0; fixed in 2.8.2\n- org.apache.kafka:kafka (Maven): affected from 3.0.0; fixed in 3.0.2\n- org.apache.kafka:kafka (Maven): affected from 3.0.0; fixed in 3.0.2\n- org.apache.kafka:kafka (Maven): affected from 3.1.0; fixed in 3.1.2\n- org.apache.kafka:kafka (Maven): affected from 3.1.0; fixed in 3.1.2\n- org.apache.kafka:kafka (Maven): affected from 3.2.0; fixed in 3.2.3\n- org.apache.kafka:kafka (Maven): affected from 3.2.0; fixed in 3.2.3\n- kafka (Bitnami): affected from 2.8.0; fixed in 2.8.2, 3.0.2, 3.1.2, 3.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-34917/ (Markdown: https://insights.sbomify.com/CVE-2022-34917/index.md)","id":"CVE-2022-34917","markdown":"https://insights.sbomify.com/CVE-2022-34917/index.md","name":"CVE-2022-34917","record":{"aliases":["BIT-kafka-2022-34917","GHSA-c9h3-c6qj-hh7q"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Kafka","requires_auth":"none","summary":"Unauthenticated clients can trigger OutOfMemoryError on Apache Kafka brokers, causing denial of service; administrators should upgrade to patched versions.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"kafka","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"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.","ecosystems":["Bitnami","Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers","id":"CVE-2022-34917","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":9,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2022-34918"},"packages":[{"ecosystem":"Bitnami","fixed":["2.8.2","3.0.2","3.1.2","3.2.3"],"introduced":["2.8.0","3.0.0","3.1.0","3.2.0"],"last_affected":[],"package":"kafka","purl":"pkg:bitnami/kafka","source":"BIT-kafka-2022-34917"},{"ecosystem":"Maven","fixed":["2.8.2"],"introduced":["2.8.0"],"last_affected":[],"package":"org.apache.kafka:kafka","purl":null,"source":"GHSA-c9h3-c6qj-hh7q"},{"ecosystem":"Maven","fixed":["2.8.2"],"introduced":["2.8.0"],"last_affected":[],"package":"org.apache.kafka:kafka","purl":"pkg:maven/org.apache.kafka/kafka","source":"GHSA-c9h3-c6qj-hh7q"},{"ecosystem":"Maven","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.kafka:kafka","purl":null,"source":"GHSA-c9h3-c6qj-hh7q"},{"ecosystem":"Maven","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.kafka:kafka","purl":"pkg:maven/org.apache.kafka/kafka","source":"GHSA-c9h3-c6qj-hh7q"},{"ecosystem":"Maven","fixed":["3.1.2"],"introduced":["3.1.0"],"last_affected":[],"package":"org.apache.kafka:kafka","purl":null,"source":"GHSA-c9h3-c6qj-hh7q"},{"ecosystem":"Maven","fixed":["3.1.2"],"introduced":["3.1.0"],"last_affected":[],"package":"org.apache.kafka:kafka","purl":"pkg:maven/org.apache.kafka/kafka","source":"GHSA-c9h3-c6qj-hh7q"},{"ecosystem":"Maven","fixed":["3.2.3"],"introduced":["3.2.0"],"last_affected":[],"package":"org.apache.kafka:kafka","purl":null,"source":"GHSA-c9h3-c6qj-hh7q"},{"ecosystem":"Maven","fixed":["3.2.3"],"introduced":["3.2.0"],"last_affected":[],"package":"org.apache.kafka:kafka","purl":"pkg:maven/org.apache.kafka/kafka","source":"GHSA-c9h3-c6qj-hh7q"}],"prev":{"headline":"Improper Input Validation (JNDI Injection) in JMSMessageConsumer","id":"CVE-2022-34916"},"products":["Apache Kafka"],"published":"2022-09-20","related":[{"cvss_score":9.1,"headline":"Apache Kafka: Missing JWT token validation in OAUTHBEARER authentication","id":"CVE-2026-33557","kev_date_added":null,"published":"2026-04-20"},{"cvss_score":8.8,"headline":"Apache Kafka: Possible RCE attack via SASL JAAS LdapLoginModule configuration","id":"CVE-2025-27818","kev_date_added":null,"published":"2025-06-10"},{"cvss_score":8.8,"headline":"Improper Input Validation in Apache Kafka","id":"CVE-2018-17196","kev_date_added":null,"published":"2019-07-11"},{"cvss_score":8.7,"headline":"Apache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race Condition","id":"CVE-2026-35554","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":7.5,"headline":"Apache Kafka Client: Arbitrary file read and SSRF vulnerability","id":"CVE-2025-27817","kev_date_added":null,"published":"2025-06-10"},{"cvss_score":7.5,"headline":"Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration","id":"CVE-2025-27819","kev_date_added":null,"published":"2025-06-10"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-29","vendors":["Apache Software Foundation"]},"summary":"Unauthenticated clients can trigger OutOfMemoryError on Apache Kafka brokers, causing denial of service; administrators should upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2022-34917/"}