Skip to content
OpenAdvisories
High · 7.7 CVE-2022-25898 EUVD-2022-5902GHSA-3fvg-4v2m-98jf

Improper Verification of Cryptographic Signature

Published Jul 1, 2022 · Updated Sep 16, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— jsrsasign unspecified – < 10.5.25 10.5.25

Affected packages

EcosystemPackageAffectedFixedRecord
npm jsrsasign >= 4.8.0, < 10.5.25 10.5.25 GHSA-3fvg-4v2m-98jf

References