CVE-2022-25898

CRITICAL
Published Jul 1, 20224y ago · Modified Jun 22, 20261w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Jul 1, 2022 4y ago
Last Modified Jun 22, 2026 1w ago

Description

The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT signature with non Base64URL encoding special characters or number escaped characters may be validated as valid by mistake. Workaround: Validate JWS or JWT signature if it has Base64URL and dot safe string before executing JWS.verify() or JWS.verifyJWT() method.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-347

Affected Products 1

VendorProductVersionRange
kjurjsrsasign*≥4.8.0  –  <10.5.25

References 6

  • github.com https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41
    PatchThird Party Advisory
  • github.com https://github.com/kjur/jsrsasign/releases/tag/10.5.25
    Release NotesThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898
    ExploitPatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897
    ExploitPatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896
    ExploitPatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122
    ExploitPatchThird Party Advisory

Remediation

  • github.com https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41
    PatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898
    ExploitPatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897
    ExploitPatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896
    ExploitPatchThird Party Advisory
  • snyk.io https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122
    ExploitPatchThird Party Advisory