CVE-2022-25898

Improper Verification of Cryptographic Signature

Published Jul 1, 2022 CVSS 3.1 · 7.7 High EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-5902 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.
Github GHSA Github GHSA GHSA-3fvg-4v2m-98jf JWS and JWT signature validation vulnerability with special characters
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 6:48 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Jul 1, 2022, 8:15 PM
Modified
Jun 22, 2026, 3:18 AM