Horizon Alert
Summary of the vulnerability and why it matters
This advisory concerns a vulnerability in Apache Kafka's handling of flexible protocol versions, specifically within its code-generated readers. The issue allows a client to send a specially crafted request that can exhaust a broker's memory or cause significant processing delays, potentially leading to a denial of service. This occurs before authorization or other security checks are performed, meaning an unauthenticated client could trigger this condition.
- A flaw allows attackers to crash Kafka brokers.
- This could disrupt data streaming operations.
- Confirm relevance and assess exposure to this vulnerability.
Attack Path
How an attacker could exploit the issue
An attacker can exploit this vulnerability by sending a specially crafted request to an Apache Kafka broker. This request, which can be initiated over the network without any prior authentication, tricks the broker into allocating excessive memory for its request headers. This process can overload the broker's resources, leading to a denial of service.
- Network access required.
- Malicious request header triggers vulnerability.
- Broker service disruption.
Live Threat
Current exploitation, exposure, and threat context
A specially crafted request can cause Apache Kafka brokers to allocate excessive memory by declaring an unusually large number of unknown fields in a flexible request header. This can lead to broker instability or denial of service, particularly when using pre-authentication APIs.
- Broker heap or CPU resources.
- Malicious request with many declared fields.
- Broker service denial or instability.
Operational Fix
Recommended remediation, mitigation, and detection steps
For this vulnerability in Apache Kafka, infrastructure and platform teams are likely responsible for initial identification and risk assessment. The first practical step involves confirming the presence of affected Kafka brokers, determining their network reachability, assessing business criticality, and identifying the accountable owner for remediation planning.
- Identify affected Kafka broker instances.
- Verify broker network exposure and criticality.
- Plan remediation based on identified risk.