# Observable Discrepancy in Apache Kafka

Advisory record · `GHSA-3j6g-hxx5-3q26`

- **Identifiers:** `GHSA-3j6g-hxx5-3q26` · `BIT-kafka-2021-38153` · `CVE-2021-38153`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-203](https://cwe.mitre.org/data/definitions/203.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 23 Sept 2021
- **Updated:** 7 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Sept 2021, 23:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.kafka:kafka_2.11` (Maven): affected `>=2.0.0, <=2.4.1`; no fixed version yet
- `org.apache.kafka:kafka_2.12` (Maven): affected `>=2.0.0, <2.6.3 || >=2.7.0, <2.7.2 || >=2.8.0, <2.8.1`; fixed in `2.6.3`, `2.7.2`, `2.8.1`
- `org.apache.kafka:kafka_2.13` (Maven): affected `>=2.4.0, <2.6.3 || >=2.7.0, <2.7.2 || >=2.8.0, <2.8.1`; fixed in `2.6.3`, `2.7.2`, `2.8.1`
- `org.apache.kafka:kafka-clients` (Maven): affected `>=2.0.0, <2.6.3 || >=2.7.0, <2.7.2 || >=2.8.0, <2.8.1`; fixed in `2.6.3`, `2.7.2`, `2.8.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.062, the 93rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:19 UTC: First seen by agentprime
- 31 Oct 2026, 14:19 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-3j6g-hxx5-3q26)

## Sources

- [GitHub Advisory Database: GHSA-3j6g-hxx5-3q26](https://github.com/advisories/GHSA-3j6g-hxx5-3q26)
- [OSV: GHSA-3j6g-hxx5-3q26](https://osv.dev/vulnerability/GHSA-3j6g-hxx5-3q26)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38153>
- <https://github.com/apache/kafka>
- <https://kafka.apache.org/cve-list>
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c@%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c@%3Cusers.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r35322aec467ddae34002690edaa4d9f16e7df9b5bf7164869b75b62c@%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be@%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be@%3Cusers.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6@%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6@%3Cusers.kafka.apache.org%3E>
- <https://support.confluent.io/hc/en-us/articles/4407632156692-CVE-2021-38153-Confluent-Platform-Vulnerability-Timing-attacks>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-3j6g-hxx5-3q26>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3j6g-hxx5-3q26/>. Everything for agents: <https://agentprime.io/llms.txt>.
