{"cve":"CVE-2021-41571","nvd":{"published":"2022-02-01T13:15:09.663","modified":"2026-06-17T04:08:40.220","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-863"],"references":["https://github.com/apache/pulsar/issues/11814","https://lists.apache.org/thread/8n3k7pvyh4cf9q2jfzb6pb32ync6xlvr","https://pulsar.apache.org/admin-rest-api/#operation/getLastMessageId","https://github.com/apache/pulsar/issues/11814","https://lists.apache.org/thread/8n3k7pvyh4cf9q2jfzb6pb32ync6xlvr"],"products":["apache:pulsar"],"source":"nvd","synced_at":"2026-10-19T21:27:20.926095847+00:00"},"epss":{"cve":"CVE-2021-41571","score":0.01726,"percentile":0.77558,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3whx-qrj5-hh2h","url":"https://osv.dev/vulnerability/GHSA-3whx-qrj5-hh2h","summary":"Improper Input Validation in Apache Pulsar","modified":"2024-02-16T08:12:18.302698Z","packages":[{"ecosystem":"Maven","name":"org.apache.pulsar:pulsar","purl":"pkg:maven/org.apache.pulsar/pulsar","ranges":["<=2.6.4"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.pulsar:pulsar","purl":"pkg:maven/org.apache.pulsar/pulsar","ranges":[">=2.7.0 <2.7.4"],"fixed":["2.7.4"]},{"ecosystem":"Maven","name":"org.apache.pulsar:pulsar","purl":"pkg:maven/org.apache.pulsar/pulsar","ranges":[">=2.8.0 <2.8.1"],"fixed":["2.8.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}