CVE-2021-41571 | Pulsar Admin API allows access to data from other tenants using getMessageById API

Exp

In Apache Pulsar it is possible to access data from BookKeeper that does not belong to the topics accessible by the authenticated user. The Admin API get-message-by-id requires the user to input a topic and a ledger id. The ledger id is a pointer to the data, and it is supposed to be a valid it for the topic. Authorisation controls are performed against the topic name and there is not proper validation the that ledger id is valid in the context of such ledger. So it may happen that the user is able to read from a ledger that contains data owned by another tenant. This issue affects Apache Pulsar Apache Pulsar version 2.8.0 and prior versions; Apache Pulsar version 2.7.3 and prior versions; Apache Pulsar version 2.6.4 and prior versions.

Published: 2022-02-01 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-41571 is rated High Exploit Risk (67.4/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.77%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2021-41571

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2021-41571

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-23 1.75% 1.77% +0.03%
2 2026-06-15 0.98% 1.75% +0.77%
3 2025-11-21 0.98%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-41571

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 3.6 [email protected]
4.0 2.0 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
8.0 2.9 [email protected]

Weakness enumeration for CVE-2021-41571

GitHub Security Advisory for CVE-2021-41571

GHSA-3whx-qrj5-hh2h · Severity: medium · Ecosystem: maven — Improper Input Validation in Apache Pulsar

OS Trackers for CVE-2021-41571

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2021-41571

Affected software / configurations for CVE-2021-41571

Vendor Product Version Raw CPE
apache pulsar >= 2.6.0, < 2.6.4 cpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:*
apache pulsar >= 2.7.0, < 2.7.3 cpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:*
apache pulsar 2.8.0 cpe:2.3:a:apache:pulsar:2.8.0:*:*:*:*:*:*:*

References for CVE-2021-41571

cvelogic Threat Intelligence