Vulnerabilities/

RSA PKCS#1 decryption vulnerability with prepending zeros in jsrsasign

Severity:
High

Description

Jsrsasign supports RSA PKCS#1 v1.5 (i.e. RSAES-PKCS1-v1_5) and RSA-OAEP encryption and decryption. Its encrypted message is represented as BigInteger. When there is a valid encrypted message, a crafted message with prepending zeros can be decrypted by this vulnerability.

Recommendation

Update the jsrsasign package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
jsrsasign
Anything's wrong? Let us know Last updated on January 31, 2023

This issue is available in SmartScanner Professional

See Pricing