CVE-2021-22160GHSA-3CV4-XXV7-934Q
Authentication with JWT allows use of “none”-algorithm
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.7.1, 2.7.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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
- CVE published
- Record last updated
- EPSS reached 10%
FIRST estimates at least a 10% chance of exploitation in the next 30 days
Affected versions
- Apache Software Foundation Apache Pulsar
fixed in 2.7.1
- org.apache.pulsar:pulsarMaven
fixed in 2.7.2
References 8
lists.apache.org
- thread.html/r347650d15a3e9c5f58b83e918b6ad6dedc2a63d3eb63da8e6a7be87e@<users.pulsar.apache.org>
- thread.html/rf2e90942996dceebac8296abf39257cfeb5ae918f82f7af3d37a48c5@<dev.pulsar.apache.org>
- thread.html/ra49cb62105154e4795b259c79a6b27d63bfa2ab5787ff8529b089550@<dev.pulsar.apache.org>
- thread.html/ra49cb62105154e4795b259c79a6b27d63bfa2ab5787ff8529b089550@<users.pulsar.apache.org>
- thread.html/r8e545559781231a83bf0644548c660255859e52feb86bbfcd42590da@<dev.pulsar.apache.org>
- thread.html/r9a12b4da2f26ce9b8f7e7117a879efaa973dab7e54717bbc7923fab1@<dev.pulsar.apache.org>
- thread.html/rbe845aa1573a61769b9c5916c62971f4b10de87c2ea5f38a97f0cf84@<dev.pulsar.apache.org>
- thread.html/rca54f4b26ba5e6f2e39732b47ec51640e89f57e3b6a38ac3bab314df@<dev.pulsar.apache.org>