cve.bz

CVE-2021-38153 Observable Discrepancy

5.9 mediumEPSS 6.2%Fix available

Medium (5.9). EPSS 6.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.kafka:kafka_2.12 2.6.3, 2.7.2, 2.8.1.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
6.2% (unchanged from 6.2% a week ago; 6.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-203 Observable Discrepancy
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-38153 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-38153?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-38153?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-38153 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.0.x through 2.0.1
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.1.x through 2.1.1
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.2.x through 2.2.2
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.3.x through 2.3.1
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.4.x through 2.4.1
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.5.x through 2.5.1
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.6.x through 2.6.2
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.7.x through 2.7.1
Apache Software Foundation Apache Kafkafrom Apache Kafka 2.8.x through 2.8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka_2.11>=2.0.0 <=2.4.1no fix published
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka_2.12>=2.0.0 <2.6.32.6.3
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka_2.12>=2.7.0 <2.7.22.7.2
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka_2.12>=2.8.0 <2.8.12.8.1
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka_2.13>=2.4.0 <2.6.32.6.3
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka_2.13>=2.7.0 <2.7.22.7.2
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka_2.13>=2.8.0 <2.8.12.8.1
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka-clients>=2.0.0 <2.6.32.6.3
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka-clients>=2.7.0 <2.7.22.7.2
GHSA-3j6g-hxx5-3q26Mavenorg.apache.kafka:kafka-clients>=2.8.0 <2.8.12.8.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
UbuntuPro:18.04:LTSkafkano fix listedUBUNTU-CVE-2021-38153

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat AMQ Streams 1.6.6Fixed 2022-01-20RHSA-2022:0219
Red Hat AMQ Streams 2.0.0kafkaFixed 2022-01-13RHSA-2022:0138
Red Hat build of Quarkus 2.2.5kafka-clientsFixed 2022-02-21RHSA-2022:0589
Red Hat Data Grid 8.3.1kafka-clientsFixed 2022-05-12RHSA-2022:2232
Red Hat Fuse 7.11kafka-clientsFixed 2022-07-07RHSA-2022:5532
RHAF Camel-K 1.8kafka-clientsFixed 2022-09-09RHSA-2022:6407
RHINT Camel-Q 2.7Fixed 2022-07-19RHSA-2022:5606
RHINT Service Registry 2.0.3 GAkafka-clientsFixed 2022-02-09RHSA-2022:0501
Vert.x 4.2.5kafkaFixed 2022-03-31RHSA-2022:0737
Vert.x 4.2.5kafka-clientsFixed 2022-03-31RHSA-2022:0737
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Red Hat build of Quarkuskafka-clientsAffected
Red Hat Decision Manager 7kafka-clientsAffected
Red Hat Integration Camel Quarkus 1kafka-clientsAffected
Red Hat Integration Service Registrykafka-clientsAffected
Red Hat JBoss Enterprise Application Platform Expansion Packkafka-clientsOut of support scope
Red Hat JBoss Fuse 6kafka-clientsOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-logging-elasticsearch6Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hadoopNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hiveNot affected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-38153.

Attack patterns (CAPEC)

  • CAPEC-189 Black Box Reverse Engineering Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON