CVE-2022-24771Improper Verification of Cryptographic Signature in Forge

Severity
7.5HIGHNVD
EPSS
0.1%
top 67.25%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 18
Latest updateMar 27

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 is lenient in checking the digest algorithm structure. This can allow a crafted structure that steals padding bytes and uses unchecked portion of the PKCS#1 encoded message to forge a signature when a low public exponent is being used. The issue has been addressed in `node-forge` version 1.3.0. There are currently no known work

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

CVEListV5digitalbazaar/forge< 1.4.0
NVDdigitalbazaar/forge< 1.3.0
debiandebian/node-node-forge< node-node-forge 0.10.0~dfsg-3+deb11u1 (bullseye)

Patches

🔴Vulnerability Details

6
OSV
CVE-2026-33894: Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript2026-03-27
OSV
Forge has signature forgery in RSA-PKCS due to ASN.1 extra field2026-03-26
GHSA
Forge has signature forgery in RSA-PKCS due to ASN.1 extra field2026-03-26
GHSA
Improper Verification of Cryptographic Signature in node-forge2022-03-18
OSV
CVE-2022-24771: Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript2022-03-18

📋Vendor Advisories

3
Red Hat
node-forge: Forge: Signature Forgery via Weak RSASSA PKCS#1 v1.5 Verification2026-03-27
Red Hat
node-forge: Signature verification leniency in checking `digestAlgorithm` structure can lead to signature forgery2022-03-18
Debian
CVE-2022-24771: node-node-forge - Forge (also called `node-forge`) is a native implementation of Transport Layer S...2022
CVE-2022-24771 — Digitalbazaar Forge vulnerability | cvebase