CVE-2022-25898
Jsrsasign Project Jsrsasign vulnerability
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 products
Jsrsasign. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jsrsasign Project Jsrsasign runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41 · Patch
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898 · Exploit
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897 · Exploit
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896 · Exploit
- snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122 · Exploit
- github.com/kjur/jsrsasign/releases/tag/10.5.25 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-25898
- cve.org/CVERecord?id=CVE-2022-25898
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.