ADVISORIES

Vulnerability

CVE-2021-38153

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Chainguard 1Maven 1Ubuntu 1

Advisories

  • CGA-6xhq-ggm7-4q2r
    CVE-2021-38153 Chainguard Updated 28 January 2026
  • GHSA-3j6g-hxx5-3q26

    Observable Discrepancy in Apache Kafka

    Moderate CVE-2021-38153 Maven Updated 7 August 2026
  • UBUNTU-CVE-2021-38153

    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…

    CVE-2021-38153 Ubuntu Updated 8 September 2025

References