CVE-2022-25898
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.
How to fix
- kjur jsrsasign10.5.25 or later
- jsrsasign10.5.25 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kjur jsrsasign | 4.8.0 ≤ v < 10.5.25 | 10.5.25 |
| jsrsasignnpm | 4.8.0 ≤ v < 10.5.25 | 10.5.25 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.