Timing Attack Vulnerability for Apache Kafka Connect and Clients
Apache Software Foundation Apache Kafka
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.kafka:kafka_2.11 Maven |
| No fix yet |
| org.apache.kafka:kafka_2.12 Maven |
|
|
Apache Software Foundation Apache Kafka
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.kafka:kafka_2.11 Maven |
| No fix yet |
| org.apache.kafka:kafka_2.12 Maven |
|
|
2.7.22.8.1| org.apache.kafka:kafka_2.13 Maven |
|
|
| org.apache.kafka:kafka-clients Maven |
|
|
Some components in Apache Kafka use `Arrays.equals` to validate a password or key, which is vulnerable to timing attacks that make brute force attacks for such credentials more likely to be successful. Users should upgrade to 2.8.1 or higher, or 3.0.0 or higher where this vulnerability has been fixed. The affected versions include Apache Kafka 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.7.1, and 2.8.0.
From the CVE record · apache
Some Apache Kafka components use `Arrays.equals` to validate passwords or keys. Its timing behavior can make brute-force attacks more likely to succeed when an attacker can observe validation timing. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Teams running Apache Kafka 2.0.0 through 2.8.0 should check their versions, including the listed affected Maven package ranges.