PT-2022-16868 · Unknown+1 · Node-Forge+1
David Lehn
·
Published
2022-03-18
·
Updated
2025-11-26
·
CVE-2022-24772
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
node-forge versions prior to 1.3.0
Description
The issue concerns the RSA PKCS#1 v1.5 signature verification code in node-forge, which 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.Recommendations
For versions prior to 1.3.0, update to version 1.3.0 to address the issue. As a temporary workaround, consider restricting the use of low public exponents in RSA signatures until the update is applied.
Exploit
Fix
Improper Verification of Cryptographic Signature
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Bitbucket
Node-Forge