CVE-2022-25898

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductKjur Jsrsasign
PublishedJul 1, 2022
First seenJul 1, 2022

How to fix

Update
  • kjur jsrsasign10.5.25 or later
  • jsrsasign10.5.25 or later

Affected products

ProductAffected versionsFixed in
kjur jsrsasign4.8.0 ≤ v < 10.5.2510.5.25
jsrsasignnpm4.8.0 ≤ v < 10.5.2510.5.25

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.