ADVISORIES

GitHub Advisory Database

GHSA-2r2c-g63r-vccr

Improper Verification of Cryptographic Signature in `node-forge`

Moderate CVE-2022-24773

Details

Impact

RSA PKCS#1 v1.5 signature verification code is not properly checking DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest.

Patches

The issue has been addressed in node-forge 1.3.0.

For more information

If you have any questions or comments about this advisory:

Affected packages

EcosystemPackageAffected versions
npmnode-forge
All versions before 1.3.0 (fixed in 1.3.0)

References