Security mailing lists by PureSourceCode

CVE-2021-41571

MEDIUM 6.5CVSS 3.1

Improper 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache pulsar
cpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:*
>= 2.6.0, < 2.6.4 2.6.4
NVD apache pulsar
cpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:*
>= 2.7.0, < 2.7.3 2.7.3
NVD apache pulsar
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.