{"schemaVersion":4,"id":"CVE-2024-27309","aliases":["UBUNTU-CVE-2024-27309","GHSA-79vv-vp32-gpp7","BIT-kafka-2024-27309"],"status":"published","duplicateOf":null,"title":"Apache Kafka: Potential incorrect access control during migration from ZK mode to KRaft mode","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.","dates":{"published":"2024-04-12T06:58:45.134Z","modified":"2025-07-30T03:55:45.408Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":5.6,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":7.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":4.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01115,"percentile":0.67145,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.00999999999999994,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01125},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01115,"percentile":0.67145}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01125,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01115,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01115,"percentile":0.67145}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"apache software foundation","product":"apache kafka","name":"Apache Kafka","label":"apache kafka","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.0, ≤ 3.5.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.0","startInclusive":true,"end":"3.5.2","endInclusive":true}},{"text":"≥ 3.6.0, ≤ 3.6.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.6.0","startInclusive":true,"end":"3.6.1","endInclusive":true}}],"versionsText":"≥ 3.5.0, ≤ 3.5.2 | ≥ 3.6.0, ≤ 3.6.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_kafka"},{"vendor":"apache","product":"kafka","name":"kafka","label":"kafka","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.0, ≤ 3.6.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.0","startInclusive":true,"end":"3.6.1","endInclusive":true}}],"versionsText":"≥ 3.5.0, ≤ 3.6.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-kafka","label":"Apache Kafka","category":"server-app"}},"hubHref":"/vendor/apache/kafka"},{"vendor":"ubuntu","product":"kafka","name":"kafka","label":"kafka","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/kafka","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.kafka","product":"kafka-metadata","name":"org.apache.kafka:kafka-metadata","label":"kafka-metadata","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.kafka/kafka-metadata","purlType":"maven","versions":[{"text":"≥ 3.5.0, < 3.6.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.0","startInclusive":true,"end":"3.6.2","endInclusive":false}}],"versionsText":"≥ 3.5.0, < 3.6.2","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/6536rmzyg076lzzdw2xdktvnz163mjpy","label":"lists.apache.org/thread/6536rmzyg076lzzdw2xdktvnz163mjpy","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/12/3","label":"www.openwall.com/lists/oss-security/2024/04/12/3","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240705-0002/","label":"security.netapp.com/advisory/ntap-20240705-0002/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-27309","label":"ubuntu.com/security/CVE-2024-27309","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-27309","label":"www.cve.org/CVERecord?id=CVE-2024-27309","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27309","label":"nvd.nist.gov/vuln/detail/CVE-2024-27309","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/kafka/commit/c000b1fae2bd7d4b76713a53508f128a13431ab6","label":"github.com/apache/kafka/commit/c000b1fae2bd7d4b76713a53508f128a13431ab6","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/kafka","label":"github.com/apache/kafka","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20240705-0002","label":"security.netapp.com/advisory/ntap-20240705-0002","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-8WH3-GH6J-J46H","CGA-VJR2-7HRJ-2F4P"]},"timeline":[{"kind":"published","date":"2024-04-12T06:58:45.134Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-30T03:55:45.408Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,74],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01115,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-07-30T03:55:45.408Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2025-07-30T03:55:45.408Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"cvss","source":"osv_maven","date":"2025-07-30T03:55:45.408Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.6,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_maven","date":"2025-07-30T03:55:45.408Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-07-30T03:55:45.408Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-07-29T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.01115,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:28:16.340Z","stale":false,"partial":false}}