CVE-2021-22160Authentication with JWT allows use of “none”-algorithm
- 9.8CriticalCVSS base score
- 52.9%Exploitation in 30 daysEPSS · top 1.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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).
Timeline
ID reserved
By apache
- 5 months later
· 5 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 52.9% · top 1.0% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Apache Software Foundation · Apache Pulsar
- affected Apache Pulsar – < 2.7.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.pulsar:pulsarGHSA-3cv4-xxv7-934q (opens in a new tab)
References
References8
- https://lists.apache.org/thread.html/r347650d15a3e9c5f58b83e918b6ad6dedc2a63d3eb63da8e6a7be87e%40%3Cusers.pulsar.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- [pulsar-dev] 20210527 Cutting 2.6.4 release to address CVE-2021-22160 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pulsar-dev] 20210527 Re: [SECURITY] [CVE-2021-22160] Authentication with JWT allows use of "none"-algorithm (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pulsar-users] 20210527 Re: [SECURITY] [CVE-2021-22160] Authentication with JWT allows use of "none"-algorithm (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pulsar-dev] 20210527 Re: Cutting 2.6.4 release to address CVE-2021-22160 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- Re: [SECURITY] [CVE-2021-22160] Authentication with JWT allows use of “none”-algorithm (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pulsar-dev] 20210531 Re: [DISCUSS] Propose More Formal Policy for Security Patches and EOL of Versions (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pulsar-dev] 20210604 Re: [DISCUSS] Propose More Formal Policy for Security Patches and EOL of Versions (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1254 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3cv4-xxv7-934q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-22160)Record last updated .