CVE-2021-41571
MEDIUM 6.5CVSS 3.1Improper Input Validation in Apache Pulsar
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
- 1 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-20CWE-863
- Also known as
- GHSA-3whx-qrj5-hh2h
- Sources
- NVDJSONOSV GHSA-3whx-qrj5-hh2hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | pulsarcpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:* |
>= 2.6.0, < 2.6.4 | 2.6.4 |
| NVD | apache | pulsarcpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.7.3 | 2.7.3 |
| NVD | apache | pulsarcpe:2.3:a:apache:pulsar:2.8.0:*:*:*:*:*:*:* |
= 2.8.0 | |
| OSV | Maven | org.apache.pulsar:pulsar | <= 2.6.4 | |
| OSV | Maven | org.apache.pulsar:pulsar | >= 2.7.0, < 2.7.4 | 2.7.4 |
| OSV | Maven | org.apache.pulsar:pulsar | >= 2.8.0, < 2.8.1 | 2.8.1 |
References
- https://github.com/apache/pulsar/issues/11814 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread/8n3k7pvyh4cf9q2jfzb6pb32ync6xlvr · Mailing List, Vendor Advisory, WEB
- https://pulsar.apache.org/admin-rest-api/#operation/getLastMessageId · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-41571 · ADVISORY
- https://github.com/apache/pulsar/pull/11852 · WEB
- https://github.com/apache/pulsar/pull/11912 · WEB
- https://github.com/apache/pulsar/pull/11913 · WEB
- https://github.com/apache/pulsar · PACKAGE
- https://github.com/apache/pulsar/releases/tag/v2.7.4 · WEB
- https://github.com/apache/pulsar/releases/tag/v2.8.1 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Feb 2022)