Skip to main content
← All vulnerabilities
CVE-2021-22160GHSA-3CV4-XXV7-934Q

Authentication with JWT allows use of “none”-algorithm

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.1, 2.7.2
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

  1. CVE published
  2. Record last updated
  3. 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