{"id":"CVE-2022-24773","published":"2022-03-18T13:30:14Z","modified":"2025-04-23T18:46:17Z","title":"Improper Verification of Cryptographic Signature in `node-forge`","vendor":"digitalbazaar","product":"forge","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00895,"percentile":0.57463,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1","tags":["x_refsource_MISC"]},{"url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-2r2c-g63r-vccr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":11.49},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"digitalbazaar","affectedVersions":[{"vendor":"digitalbazaar","product":"forge","versions":["< 1.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:56:37.127478Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"node-forge","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-2r2c-g63r-vccr"],"provenance":"source"}],"summary":{"text":"The flaw is an improper verification of RSA PKCS#1 v1.5 signatures in the signature verification code of the forge (node-forge) JavaScript TLS implementation, where the DigestInfo structure is not checked for proper ASN.1 formatting. An attacker with network access can get signatures that contain malformed structures but a valid digest to verify successfully, with no authentication or user interaction required and no special configuration needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:33Z"},"euvd":{"id":"EUVD-2022-1274","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-0122","published":"2022-01-06","fixed":"1.0.0","kev":false,"link":{"from":"CVE-2022-0122","to":"CVE-2022-24773","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:node-forge","fromFixed":"1.0.0","toFixed":"1.3.0","daysApart":71}]}},{"cve":"CVE-2022-24771","published":"2022-03-18","fixed":"1.3.0","kev":false},{"cve":"CVE-2022-24772","published":"2022-03-18","fixed":"1.3.0","kev":false},{"cve":"CVE-2022-24773","published":"2022-03-18","fixed":"1.3.0","kev":false},{"cve":"CVE-2025-12816","published":"2025-11-25","fixed":"1.3.2","kev":false},{"cve":"CVE-2025-66030","published":"2025-11-26","fixed":"1.3.2","kev":false},{"cve":"CVE-2025-66031","published":"2025-11-26","fixed":"1.3.2","kev":false}],"package":"npm:node-forge"}}