Live threats

All CVEs / Apache

CVE-2021-38153Apache Kafka

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
5.5%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Sep 22, 2021
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-203
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kafka.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.kafka:kafka-clients ≥ 2.0.0 < 2.6.3 2.6.3 —
Maven org.apache.kafka:kafka-clients ≥ 2.7.0 < 2.7.2 2.7.2 —
Maven org.apache.kafka:kafka-clients ≥ 2.8.0 < 2.8.1 2.8.1 —
Maven org.apache.kafka:kafka_2.11 ≥ 2.0.0 ≤ 2.4.1 no fixed version —
Maven org.apache.kafka:kafka_2.12 ≥ 2.0.0 < 2.6.3 2.6.3 —
Maven org.apache.kafka:kafka_2.12 ≥ 2.7.0 < 2.7.2 2.7.2 —
Maven org.apache.kafka:kafka_2.12 ≥ 2.8.0 < 2.8.1 2.8.1 —
Maven org.apache.kafka:kafka_2.13 ≥ 2.4.0 < 2.6.3 2.6.3 —
Maven org.apache.kafka:kafka_2.13 ≥ 2.7.0 < 2.7.2 2.7.2 —
Maven org.apache.kafka:kafka_2.13 ≥ 2.8.0 < 2.8.1 2.8.1 —

Per OSV / GitHub Advisories (GHSA-3j6g-hxx5-3q26). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachekafka≥ 2.0.0 < 2.6.3
apachekafka≥ 2.7.0 < 2.7.2
apachekafka2.8.0
quarkusquarkus< 2.2.4
oraclecommunications_brm_-_elastic_charging_engine< 12.0.0.4.6
oraclecommunications_brm_-_elastic_charging_engine12.0.0.5.0
oraclecommunications_cloud_native_core_policy1.15.0
oraclefinancial_services_analytical_applications_infrastructure≥ 8.0.6.0 ≤ 8.0.9.0
oraclefinancial_services_analytical_applications_infrastructure≥ 8.1.0.0.0 ≤ 8.1.20
oraclefinancial_services_behavior_detection_platform≥ 8.0.6.0.0 ≤ 8.0.8.0
oraclefinancial_services_behavior_detection_platform8.1.1.0
oraclefinancial_services_behavior_detection_platform8.1.1.1
oraclefinancial_services_behavior_detection_platform8.1.2.0
oraclefinancial_services_enterprise_case_management8.0.7.1
oraclefinancial_services_enterprise_case_management8.0.7.2
oraclefinancial_services_enterprise_case_management8.0.8.0
oraclefinancial_services_enterprise_case_management8.0.8.1
oraclefinancial_services_enterprise_case_management8.1.1.0
oraclefinancial_services_enterprise_case_management8.1.1.1
oracleprimavera_unifier18.8
oracleprimavera_unifier19.12
oracleprimavera_unifier20.12
oracleprimavera_unifier21.12

Official sources

References

Links published by the sources. Open them with care.