Skip to main content

CVE-2021-22160 Authentication with JWT allows use of "none"-algorithm

Apache Pulsar Information Disclosure

Severity: High

Versions Affected:โ€‹

Apache Pulsar < 2.7.1

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

Mitigation:โ€‹

Users of the affected versions should apply one of the following mitigations: Upgrade to Apache Pulsar 2.7.1 or later

Credit:โ€‹

This issue was identified by Peter Stรถckli

Security Advisories