Vulnerabilities/

RSA signature validation vulnerability on maleable encoded message in jsrsasign

Severity:
High

Description

Vulnerable jsrsasign will accept RSA signature with improper PKCS#1.5 padding. Decoded RSA signature value consists following form: 01(ff...(8 or more ffs)...ff)00[ASN.1 OF DigestInfo] Its byte length must be the same as RSA key length, however such checking was not sufficient.

To make crafted message for practical attack is very hard.

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 September 11, 2023

This issue is available in SmartScanner Professional

See Pricing