CVE-2021-38153: Apache Kafka

Medium severity, CVSS 5.9. EPSS: 5.5% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apache Kafka, from 2.0.0, before 2.6.3: fixed in 2.6.3
  • Apache Kafka, from 2.7.0, before 2.7.2: fixed in 2.7.2
  • Oracle Communications Brm - Elastic Charging Engine, before 12.0.0.4.6: fixed in 12.0.0.4.6
  • Quarkus, before 2.2.4: fixed in 2.2.4

Affected products

Affected packages

Published 2021-09-22. Last modified 2026-06-17.