CVE-2021-41571 json
Pulsar Admin API allows access to data from other tenants using getMessageById API
published 4y ago modified 4mo ago also GHSA-3whx-qrj5-hh2h , EUVD-2022-0797
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.pulsar:pulsar 2.7.4, 2.8.1
- apache pulsar 2.6.4, 2.7.3
- github.com/apache/pulsar#11852 pull request
- github.com/apache/pulsar#11912 pull request
- github.com/apache/pulsar#11913 pull request
- github.com/apache/pulsar/releases/tag/v2.7.4 release
- github.com/apache/pulsar/releases/tag/v2.8.1 release
- pulsar.apache.org/admin-rest-api/#operation/getLastMessageId advisory
- github.com/apache/pulsar/issues/11814 advisory
Is CVE-2021-41571 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-41571 updated cvss 6.5
pulsar: Pulsar Admin API allows access to data from other tenants using getMessageById API
-
Red Hat Integration Camel K 1 pulsar-client-admin pulsar-client-adminaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.73% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/apache/pulsar/issues/11814 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.pulsar:pulsar | <=2.6.4 >=2.7.0, <2.7.4 >=2.8.0, <2.8.1 |
2.7.4 2.8.1 |
Affected products
- Apache Software Foundation Apache Pulsar
Classification
References
-
pulsar.apache.org
/admin-rest-api/#operation/getLastMessageId
web, patch, vendor-advisory
-
github.com
/apache/pulsar/issues/11814
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/apache/pulsar/pull/11852
web
-
github.com
/apache/pulsar/pull/11912
web
-
github.com
/apache/pulsar/pull/11913
web
-
lists.apache.org
/thread/8n3k7pvyh4cf9q2jfzb6pb32ync6xlvr
web, mailing-list, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-41571
advisory
-
github.com
/apache/pulsar
package
-
github.com
/apache/pulsar/releases/tag/v2.7.4
web
-
github.com
/apache/pulsar/releases/tag/v2.8.1
web
Sources
- CVE List CVE-2021-41571
- GitHub Advisory GHSA-3whx-qrj5-hh2h
- NVD CVE-2021-41571
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.