CVE-2024-27309: apache software foundation apache kafka Incorrect Authorization
Vulnerability summary
CVE-2024-27309 is a high (CVSS 7.4) Incorrect Authorization vulnerability in apache software foundation apache kafka. EPSS estimates a 1.13% chance of exploitation in the next 30 days, higher than 65.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 12-04-2024PublishedVulnerability first disclosed.
- 30-07-2025Last modifiedVulnerability information updated.
Description
While an Apache Kafka cluster is being migrated from ZooKeeper mode to KRaft mode, in some cases ACLs will not be correctly enforced. Two preconditions are needed to trigger the bug: 1. The administrator decides to remove an ACL 2. The resource associated with the removed ACL continues to have two or more other ACLs associated with it after the removal. When 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. The 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). The 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 metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · MavenEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
- NVDNIST7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
1.13%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
0.00 pp
From 1.13% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apache1 product
- kafka≥ 3.5.0, ≤ 3.6.1
Apache software foundation1 product
- apache kafka≥ 3.5.0, ≤ 3.5.2 | ≥ 3.6.0, ≤ 3.6.1
Org.apache.kafka1 product
- kafka-metadata≥ 3.5.0, < 3.6.2
Ubuntu1 product
- kafkaAll versions (No fix recorded)
4 vendors · 4 products
References
9 links- security.netapp.com/advisory/ntap-20240705-0002/Third Party Advisory
- github.com/apache/kafkaPACKAGE