CVE-2021-22160Apache Pulsar
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Pulsar We alert you by email or Slack (account required).
- Priority
- 79
- CVSS 3.1
- 9.8
- EPSS
- 52.9% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- May 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
If Apache Pulsar is configured to authenticate clients using tokens based on JSON Web Tokens (JWT), the signature of the token is not validated if the algorithm of the presented token is set to "none". This allows an attacker to connect to Pulsar instances as any user (incl. admins).
What to do
- Apply the vendor's security update for Pulsar.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.pulsar:pulsar |
< 2.7.2 |
2.7.2 |
— |
Per OSV / GitHub Advisories (GHSA-3cv4-xxv7-934q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | pulsar | < 2.7.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- lists.apache.org
- lists.apache.org Mailing List Vendor Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org