What’s Vulnerable › Vulnerabilities

CVE-2022-25898: Improper Verification of Cryptographic Signature

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.

Affected products

How to fix

Upgrade to a fixed version: jsrsasign 10.5.25. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-25898 or the next vulnerability affects your stack