Improper Verification of Cryptographic Signature in node-forge - CVE-2022-24771

 

Improper Verification of Cryptographic Signature in node-forge - CVE-2022-24771

Published: July 25, 2022


Vulnerability identifier: #VU65749
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-24771
CWE-ID: CWE-347
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Synex Technologies
Affected software:
node-forge

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass security restrictions.

The vulnerability exists due to a improper signature verification when checking the digestAlgorithm structure. A remote unauthenticated attacker can use a specially-crafted structure to steal padding bytes and use unchecked portion of the PKCS#1 encoded message to exploit this vulnerability and forge a signature when a low public exponent is being used.


How to mitigate CVE-2022-24771

Install updates from vendor's website.

Sources