Vulnerability · Published Jul 1, 2022 · Assigned by snyk

CVE-2022-25898Improper Verification of Cryptographic Signature

High 7.7

In plain English

A high-severity security flaw in jsrsasign. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)1.2%top 32.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmjsrsasign10.5.25GHSA-3fvg-4v2m-98jf

Affected products (as reported)

VendorProductVersions
n/a jsrsasign unspecified – before 10.5.25

References