CVE-2021-22160

Authentication with JWT allows use of “none”-algorithm

State
Published
Severity
Not scored
Published
May 26, 2021
Updated
Aug 3, 2024
Reserved
Jan 5, 2021

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
Apache PulsarApache Software Foundation
  • Apache Pulsar to before 2.7.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.