Improper Authentication in Apache Pulsar - CVE-2021-22160

 

Improper Authentication in Apache Pulsar - CVE-2021-22160

Published: May 25, 2021


Vulnerability identifier: #VU53540
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-22160
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error in when processing authentication requests 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". A remote attacker can bypass authentication process and connect under arbitrary account to the application, including administrative accounts.


Affected software

Apache Pulsar

How to mitigate CVE-2021-22160

Install updates from vendor's website.

Apache Pulsar - update to 2.7.1

External References

Related Security Bulletins