CVEvulnerability
CVE-2022-25898
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-07-01
- Last modified
- 2026-06-22
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-347
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 configurations
• kjur jsrsasign (>= 4.8.0 < 10.5.25)
Related
Weakness · CWE (1)
- CWE-347 Improper Verification of Cryptographic Signature weakness
References
- https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41 Patch, Third Party Advisory
- https://github.com/kjur/jsrsasign/releases/tag/10.5.25 Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898 Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897 Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896 Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122 Exploit, Patch, Third Party Advisory
- https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41 Patch, Third Party Advisory
- https://github.com/kjur/jsrsasign/releases/tag/10.5.25 Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898 Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897 Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896 Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122 Exploit, Patch, Third Party Advisory