Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-22160 EUVD-2021-1254GHSA-3cv4-xxv7-934q

Authentication with JWT allows use of “none”-algorithm

Published May 26, 2021 · Updated Aug 3, 2024 · Assigned by apache

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

VendorProductAffectedFixed
Apache Software Foundation Apache Pulsar Apache Pulsar – < 2.7.1 2.7.1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.pulsar:pulsar < 2.7.2 2.7.2 GHSA-3cv4-xxv7-934q

References