Skip to content

CVE-2022-25898 Improper Verification of Cryptographic Signature

CriticalCVSS 9.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
kjur jsrsasign >= 4.8.0, < 10.5.25 10.5.25 Fixed
npm jsrsasign(npm) >= 4.8.0, < 10.5.25 10.5.25 Fixed

Affected products

ProductAffected versionsFixed in
npm jsrsasign(npm) >= 4.8.0, < 10.5.25 10.5.25
kjur jsrsasign >= 4.8.0, < 10.5.25 10.5.25

References