CVE-2021-22160
Java vulnerability analysis and mitigation

Overview

CVE-2021-22160 is a critical security vulnerability discovered in Apache Pulsar affecting versions prior to 2.7.1. The vulnerability was disclosed on May 26, 2021, and involves a flaw in the JSON Web Token (JWT) authentication mechanism (NVD).

Technical details

The vulnerability occurs when Apache Pulsar is configured to authenticate clients using JSON Web Tokens (JWT). The core issue is that the system fails to validate the token signature when the algorithm of the presented token is set to "none". This vulnerability has been assigned a CVSS v3.1 base score of 9.8 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating its severe nature (NVD).

Impact

The vulnerability allows an attacker to connect to Pulsar instances as any user, including administrators, effectively bypassing authentication controls. This could lead to unauthorized access to sensitive data and system controls (NVD).

Mitigation and workarounds

The vulnerability was addressed in Apache Pulsar version 2.7.1. Users running affected versions should upgrade to version 2.7.1 or later to mitigate this security risk. Additionally, a separate 2.6.4 release was created to address this vulnerability in the 2.6.x branch (Apache Mailing List).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-66474HIGH8.7
  • JavaJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesDec 10, 2025
CVE-2025-66473HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-rest-server
NoYesDec 10, 2025
CVE-2025-67505HIGH8.4
  • JavaJava
  • com.okta.sdk:okta-sdk-root
NoYesDec 10, 2025
CVE-2025-14518MEDIUM5.3
  • JavaJava
  • tech.powerjob:powerjob-common
NoNoDec 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management