Improper Verification of Cryptographic Signature in node-forge (GHSA-cfm4-qjh2-4765)
- Severity:
- High
Description
RSA PKCS#1 v1.5 signature verification code is lenient in checking the digest algorithm structure. This can allow a crafted structure that steals padding bytes and uses unchecked portion of the PKCS#1 encoded message 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:
- Affected version(s): < 1.3.0
- Patched version(s): 1.3.0
References
Related Issues
- node-forge has ASN.1 Unbounded Recursion - CVE-2025-66031
- node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization - CVE-2025-12816
- angular vulnerable to regular expression denial of service via the $resource service - CVE-2023-26117
- pdfmake is vulnerable to Throttling via repeatedly redirecting URL in file embedding - CVE-2025-11362
- Tags:
- npm
- node-forge
Anything's wrong? Let us know Last updated on February 12, 2025