BIT-kafka-2024-27309
Record from OSV · Published April 16, 2024
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 ACL2. 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kafka | Bitnami | 3.6.2, 3.5.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Bitnami | kafka | 3.6.0, 3.5.0 |
Timeline
- Apr 16, 2024 CVE Published
- May 2, 2024 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln BIT-kafka-2024-27309
vulnetix vdb fixes BIT-kafka-2024-27309
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/BIT-kafka-2024-27309/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart