{"cve":"CVE-2024-27309","nvd":{"published":"2024-04-12T07:15:08.560","modified":"2026-06-17T07:19:37.317","status":"Analyzed","description":"While an Apache Kafka cluster is being migrated from ZooKeeper mode to KRaft mode, in some cases ACLs will not be correctly enforced.\n\nTwo preconditions are needed to trigger the bug:\n1. The administrator decides to remove an ACL\n2. The resource associated with the removed ACL continues to have two or more other ACLs associated with it after the removal.\n\nWhen those two preconditions are met, Kafka will treat the resource as if it had only one ACL associated with it after the removal, rather than the two or more that would be correct.\n\nThe incorrect condition is cleared by removing all brokers in ZK mode, or by adding a new ACL to the affected resource. Once the migration is completed, there is no metadata loss (the ACLs all remain).\n\nThe full impact depends on the ACLs in use. If only ALLOW ACLs were configured during the migration, the impact would be limited to availability impact. if DENY ACLs were configured, the impact could include confidentiality and integrity impact depending on the ACLs configured, as the DENY ACLs might be ignored due to this vulnerability during the migration period.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4},"cwes":["CWE-863"],"references":["http://www.openwall.com/lists/oss-security/2024/04/12/3","https://lists.apache.org/thread/6536rmzyg076lzzdw2xdktvnz163mjpy","https://security.netapp.com/advisory/ntap-20240705-0002/","http://www.openwall.com/lists/oss-security/2024/04/12/3","https://lists.apache.org/thread/6536rmzyg076lzzdw2xdktvnz163mjpy"],"products":["apache:kafka"],"source":"nvd","synced_at":"2026-10-19T21:48:32.179249784+00:00"},"epss":{"cve":"CVE-2024-27309","score":0.01125,"percentile":0.66283,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-79vv-vp32-gpp7","url":"https://osv.dev/vulnerability/GHSA-79vv-vp32-gpp7","summary":"Apache Kafka: Potential incorrect access control during migration from ZK mode to KRaft mode","modified":"2026-08-07T08:12:15.365740555Z","packages":[{"ecosystem":"Maven","name":"org.apache.kafka:kafka-metadata","purl":"pkg:maven/org.apache.kafka/kafka-metadata","ranges":[">=3.5.0 <3.6.2"],"fixed":["3.6.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}