En bref
- CVE-2022-24773 est une vulnérabilité MOYENNE (CVSS 5.3) touchant forge (digitalbazaar), node-forge.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.96%, plus élevée que 61.4% des vulnérabilités.
- Correctif : mettre à jour vers 1.3.0 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| forge | < 1.3.0
| 1.3.0
|
| node-forge npm | < 1.3.0
| 1.3.0
|
Description
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:
NVD description
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not properly check `DigestInfo` for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in `node-forge` version 1.3.0. There are currently no known workarounds.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free