Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.pulsar/pulsar-broker-common
  4. ›
  5. CVE-2021-22160

CVE-2021-22160: Improper Verification of Cryptographic Signature

May 26, 2021 (updated June 4, 2022)

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

References

  • nvd.nist.gov/vuln/detail/CVE-2021-22160

Code Behaviors & Features

Detect and mitigate CVE-2021-22160 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.7.1

Fixed versions

  • 2.7.1

Solution

Upgrade to version 2.7.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

maven/org.apache.pulsar/pulsar-broker-common/CVE-2021-22160.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:25 +0000.