What’s Vulnerable › Vulnerabilities

CVE-2021-22160: Authentication with JWT allows use of “none”-algorithm

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).

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Pulsar 2.7.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-22160 or the next vulnerability affects your stack