要点
- CVE-2022-24773 是影响 forge (digitalbazaar), node-forge 的中危 (CVSS 5.3)漏洞。
- 未来 30 天内被利用的概率(EPSS):0.96%,高于 61.4% 的漏洞。
- 修复:升级到 1.3.0 或更高版本。
| 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