Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jsrsasign Project | Jsrsasign | >= 4.8.0, < 10.5.25 |
Related Weaknesses (CWE)
References
- https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae4PatchThird Party Advisory
- https://github.com/kjur/jsrsasign/releases/tag/10.5.25Release NotesThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898ExploitPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897ExploitPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896ExploitPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122ExploitPatchThird Party Advisory
- https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae4PatchThird Party Advisory
- https://github.com/kjur/jsrsasign/releases/tag/10.5.25Release NotesThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898ExploitPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897ExploitPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896ExploitPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122ExploitPatchThird Party Advisory
FAQ
What is CVE-2022-25898?
CVE-2022-25898 is a vulnerability with a CVSS score of 7.7 (HIGH). 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 chara...
How severe is CVE-2022-25898?
CVE-2022-25898 has been rated HIGH with a CVSS base score of 7.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-25898?
Check the references section above for vendor advisories and patch information. Affected products include: Jsrsasign Project Jsrsasign.