{"answers":{"affected":"17 open source packages ship an affected version, including org.apache.kafka:kafka_2.10, kafka and org.apache.kafka:kafka_2.11. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-27819 in the wild and no public exploit code.","fix":"Change a configuration setting.","what":"CVE-2025-27819 is a high-severity unsafe deserialization vulnerability in Apache Kafka, published on 10 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-27819 and fix it if it is affected.\n\nWhat it is: CVE-2025-27819 is a high-severity unsafe deserialization vulnerability in Apache Kafka, published on 10 Jun 2025. 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-2025-27819 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.kafka:kafka_2.10 (Maven): affected all versions; no fix listed\n- org.apache.kafka:kafka_2.10 (Maven): affected all versions; no fix listed\n- kafka (Bitnami): affected from 2.0.0; fixed in 3.4.1\n- org.apache.kafka:kafka_2.11 (Maven): affected all versions; no fix listed\n- org.apache.kafka:kafka_2.11 (Maven): affected all versions; no fix listed\n- org.apache.kafka:kafka_2.12 (Maven): affected all versions; fixed in 3.4.0\n- org.apache.kafka:kafka_2.12 (Maven): affected all versions; fixed in 3.4.0\n- org.apache.kafka:kafka_2.13 (Maven): affected all versions; fixed in 3.4.0\n- org.apache.kafka:kafka_2.13 (Maven): affected all versions; fixed in 3.4.0\n- org.apache.kafka:kafka_2.8.0 (Maven): affected all versions; no fix listed\n- org.apache.kafka:kafka_2.8.0 (Maven): affected all versions; no fix listed\n- org.apache.kafka:kafka_2.8.2 (Maven): affected all versions; no fix listed\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-2025-27819/ (Markdown: https://insights.sbomify.com/CVE-2025-27819/index.md)","id":"CVE-2025-27819","markdown":"https://insights.sbomify.com/CVE-2025-27819/index.md","name":"CVE-2025-27819","record":{"aliases":["BIT-kafka-2025-27819","GHSA-mcwh-c9pg-xw43"],"analysis":{"component_type":"server_software","fix_type":"configuration_change","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Kafka broker","requires_auth":"none","summary":"Attackers with AlterConfigs permission can trigger RCE or DoS via SASL JAAS JndiLoginModule configuration in Apache Kafka brokers.","user_interaction":"not_required","vuln_class":"deserialization"},"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-502","name":"Deserialization of Untrusted Data"}],"description":"In CVE-2023-25194, we announced the RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration in Kafka Connect API. But not only Kafka Connect API is vulnerable to this attack, the Apache Kafka brokers also have this vulnerability. To exploit this vulnerability, the attacker needs to be able to connect to the Kafka cluster and have the AlterConfigs permission on the cluster resource.\n\nSince Apache Kafka 3.4.0, we have added a system property (\"-Dorg.apache.kafka.disallowed.login.modules\") to disable the problematic login modules usage in SASL JAAS configuration. Also by default \"com.sun.security.auth.module.JndiLoginModule\" is disabled in Apache Kafka 3.4.0, and \"com.sun.security.auth.module.JndiLoginModule,com.sun.security.auth.module.LdapLoginModule\" is disabled by default in in Apache Kafka 3.9.1/4.0.0","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":"Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration","id":"CVE-2025-27819","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":17,"n_references":1,"next":{"headline":"Apache HttpComponents: PSL (Public Suffix List) validation bypass","id":"CVE-2025-27820"},"packages":[{"ecosystem":"Bitnami","fixed":["3.4.1"],"introduced":["2.0.0"],"last_affected":[],"package":"kafka","purl":"pkg:bitnami/kafka","source":"BIT-kafka-2025-27819"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.10","purl":null,"source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.10","purl":"pkg:maven/org.apache.kafka/kafka_2.10","source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.11","purl":null,"source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.11","purl":"pkg:maven/org.apache.kafka/kafka_2.11","source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":["3.4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.12","purl":null,"source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":["3.4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.12","purl":"pkg:maven/org.apache.kafka/kafka_2.12","source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":["3.4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.13","purl":null,"source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":["3.4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.13","purl":"pkg:maven/org.apache.kafka/kafka_2.13","source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.8.0","purl":null,"source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.8.0","purl":"pkg:maven/org.apache.kafka/kafka_2.8.0","source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.8.2","purl":null,"source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.8.2","purl":"pkg:maven/org.apache.kafka/kafka_2.8.2","source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.9.1","purl":null,"source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.9.1","purl":"pkg:maven/org.apache.kafka/kafka_2.9.1","source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.9.2","purl":null,"source":"GHSA-mcwh-c9pg-xw43"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.apache.kafka:kafka_2.9.2","purl":"pkg:maven/org.apache.kafka/kafka_2.9.2","source":"GHSA-mcwh-c9pg-xw43"}],"prev":{"headline":"Apache Kafka: Possible RCE attack via SASL JAAS LdapLoginModule configuration","id":"CVE-2025-27818"},"products":["Apache Kafka"],"published":"2025-06-10","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":"Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers","id":"CVE-2022-34917","kev_date_added":null,"published":"2022-09-20"}],"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-06-10","vendors":["Apache Software Foundation"]},"summary":"Attackers with AlterConfigs permission can trigger RCE or DoS via SASL JAAS JndiLoginModule configuration in Apache Kafka brokers.","url":"https://insights.sbomify.com/CVE-2025-27819/"}