Vulnerabilities/

Improper Verification of Cryptographic Signature in node-forge

Severity:
High

Description

RSA PKCS#1 v1.5 signature verification code does not check for tailing garbage bytes after decoding a DigestInfo ASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used.

Recommendation

Update the node-forge package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
node-forge
Anything's wrong? Let us know Last updated on February 12, 2025

This issue is available in SmartScanner Professional

See Pricing