patchminder
No public exploit found CVE-2021-41571

Broken access controlin Apache Pulsar.

Published 1 Feb 2022 · Updated 4 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 6.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.8% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.7.4, 2.8.1
In plain words

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.

What to do now
  • Upgrade org.apache.pulsar:pulsar (Maven) to 2.7.4, 2.8.1 or later, whichever matches your release line.
  • Can't upgrade today? If you are running Pulsar behind a proxy you can disable access to the REST API for the flawed API /admin/v2/non-persistent/{tenant}/{namespace}/{topic}/ledger/{ledgerId}/entry/{entryId}
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Pulsar
2.8.0 and earlier
Not confirmed
CVE record
org.apache.pulsar:pulsar (Maven)
2.6.4 and earlier
Not confirmed
GitHub advisory
org.apache.pulsar:pulsar (Maven)
2.7.0 to before 2.7.4
2.7.4
GitHub advisory
org.apache.pulsar:pulsar (Maven)
2.8.0 to before 2.8.1
2.8.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 23 Sep 2021
    CVE ID reserved by apache.
  2. 1 Feb 2022
    Published in the CVE List.
  3. 4 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Pulsar vulnerabilities

Same weakness: Incorrect authorization

All CWE-863 vulnerabilities

References
Cite this page

Patchminder. CVE-2021-41571: Broken access control in Apache Pulsar. https://patchminder.com/cve/cve-2021-41571/ (accessed 5 December 2026).