CVE-2022-25898 Improper Verification of Cryptographic Signature
CriticalCVSS 9.8
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kjur jsrsasign | >= 4.8.0, < 10.5.25 | 10.5.25 | Fixed |
| npm jsrsasign(npm) | >= 4.8.0, < 10.5.25 | 10.5.25 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm jsrsasign(npm) | >= 4.8.0, < 10.5.25 | 10.5.25 |
| kjur jsrsasign | >= 4.8.0, < 10.5.25 | 10.5.25 |
References
- cve.mitre.org
- github.com release-notes third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- github.com
- github.com product