CVE-2021-22160

published 26 May 2021 · updated 3 Aug 2024

Authentication with JWT allows use of “none”-algorithm

6.0MediumEPSS 53%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 53%. Fixed in 2.7.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=Apache Pulsar <2.7.12.7.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-22160 severity on Zeptric[![CVE-2021-22160](https://zeptric.io/badge/cve/CVE-2021-22160.svg)](https://zeptric.io/cve/CVE-2021-22160)