Authentication Bypass Affecting org.apache.pulsar:pulsar-broker-common package, versions [0, 2.7.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.48% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authentication Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEPULSAR-1297105
  • published27 May 2021
  • disclosed27 May 2021
  • creditPeter Stöckli

Introduced: 27 May 2021

CVE-2021-22160  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade org.apache.pulsar:pulsar-broker-common to version 2.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Authentication Bypass. 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).

CVSS Scores

version 3.1