High severityNVD Advisory· Published Jul 1, 2022· Updated Sep 16, 2024
Improper Verification of Cryptographic Signature
CVE-2022-25898
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
jsrsasignnpm | >= 4.8.0, < 10.5.25 | 10.5.25 |
Affected products
2- jsrsasign/jsrsasigndescription
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-3fvg-4v2m-98jfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25898ghsaADVISORY
- cve.mitre.org/cgi-bin/cvename.cgighsaWEB
- github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41ghsax_refsource_MISCWEB
- github.com/kjur/jsrsasign/releases/tag/10.5.25ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.