Description
Jsrsasign can verify RSA-PSS signature which value can expressed as BigInteger. When there is a valid RSA-PSS signature value, this vulnerability is also accept value with prepending zeros as a valid signature.
- If you are not use RSA-PSS signature validation, this vulnerability is not affected.
Recommendation
Update the jsrsasign package to the latest compatible version. Followings are version details:
- Affected version(s): >= 3.0.0, < 8.0.16
- Patched version(s): 8.0.17
References
Could your website be exposed too?
SmartScanner can check your website for RSA-PSS signature validation vulnerability by prepending zeros in jsrsasign and gives you actionable findings to investigate.
Start a free scanRelated Issues
- RSA PKCS#1 decryption vulnerability with prepending zeros in jsrsasign - CVE-2020-14967
- RSA signature validation vulnerability on maleable encoded message in jsrsasign - CVE-2021-30246
- ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding in jsrsasign - CVE-2020-14966
- JWS and JWT signature validation vulnerability with special characters - CVE-2022-25898


