5.9

CVE-2021-38153: Timing Attack Vulnerability for Apache Kafka Connect and Clients

Modified
AliasesUBUNTU-CVE-2021-38153CGA-6xhq-ggm7-4q2rBIT-kafka-2021-38153
Published 22-09-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-38153 is a medium (CVSS 5.9) Observable Discrepancy vulnerability in apache software foundation apache kafka. EPSS estimates a 5.47% chance of exploitation in the next 30 days, higher than 92.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
5.47%
0%100%
Low · -0.73 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 22-09-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

5.47%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

Decrease -0.73 pp

From 6.20% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Oracle6 products
Org.apache.kafka4 products
  • kafka_2.11≥ 2.0.0, ≤ 2.4.1
  • kafka_2.12≥ 2.0.0, < 2.6.3 | ≥ 2.7.0, < 2.7.2 | ≥ 2.8.0, < 2.8.1
  • kafka_2.13≥ 2.4.0, < 2.6.3 | ≥ 2.7.0, < 2.7.2 | ≥ 2.8.0, < 2.8.1
  • kafka-clients≥ 2.0.0, < 2.6.3 | ≥ 2.7.0, < 2.7.2 | ≥ 2.8.0, < 2.8.1
Apache1 product
  • kafkaEOL≥ 2.0.0, < 2.6.3 | ≥ 2.7.0, < 2.7.2 | 2.8.0
Apache software foundation1 product
  • apache kafka≥ Apache Kafka 2.0.x, ≤ 2.0.1 | ≥ Apache Kafka 2.1.x, ≤ 2.1.1 | ≥ Apache Kafka 2.2.x, ≤ 2.2.2 | ≥ Apache Kafka 2.3.x, ≤ 2.3.1 | ≥ Apache Kafka 2.4.x, ≤ 2.4.1 | ≥ Apache Kafka 2.5.x, ≤ 2.5.1 | ≥ Apache Kafka 2.6.x, ≤ 2.6.2 | ≥ Apache Kafka 2.7.x, ≤ 2.7.1 | ≥ Apache Kafka 2.8.x, ≤ 2.8.0
Chainguard1 product
  • apache-nifi< 1.26.0-r2
Quarkus1 product
Ubuntu1 product
  • kafkaAll versions (No fix recorded)

7 vendors · 15 products

References

23 links
Show all 23 references