CVE Catalog

CVE-2022-25898

HighCVSS 7.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.91%

55th percentile - higher than 55% of all known CVEs

Summary

The jsrsasign package before version 10.5.25 is vulnerable to improper verification of cryptographic signatures, which may lead to incorrect validation of JWS or JWT signatures containing invalid Base64URL encoding characters.

Risk Assessment

Organizations may be exposed to attacks where unauthorized signatures could be mistakenly accepted as valid, potentially leading to security breaches.

Recommendation

It is recommended to validate JWS or JWT signatures to ensure they contain safe Base64URL strings and dots before executing the JWS.verify() or JWS.verifyJWT() methods.

Other vulnerabilities in jsrsasign

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS