{"id":"CVE-2022-24773","aliases":["CVE-2022-24773","GHSA-2r2c-g63r-vccr"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Verification of Cryptographic Signature in `node-forge`","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nRSA 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.\n\n### Patches\n\nThe issue has been addressed in `node-forge` `1.3.0`.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [forge](https://github.com/digitalbazaar/forge)\n* Email us at [example email address](mailto:security@digitalbazaar.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Forge (también llamado \"node-forge\") es una implementación nativa de Transport Layer Security en JavaScript. En versiones anteriores a 1.3.0, el código de verificación de firmas RSA PKCS#1 v1.5 no comprueba apropiadamente que \"DigestInfo\" tenga una estructura ASN.1 apropiada. Esto puede conllevar a una verificación con éxito con firmas que contienen estructuras no válidas pero un compendio válido. El problema ha sido abordado en \"node-forge\" versión 1.3.0. Actualmente no se presentan medidas de mitigación conocidas","source":"nvd"}],"published":"2022-03-18T13:30:14.000Z","modified":"2026-06-17T04:32:29.367Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"version":"< 1.3.0","status":"affected"}],"vendor":"digitalbazaar","product":"forge","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.0"}],"ecosystem":"npm","package":"node-forge","purl":"pkg:npm/node-forge","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.0"}],"vendor":"digitalbazaar","product":"forge","cpe":"cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-2r2c-g63r-vccr","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24773","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/digitalbazaar/forge","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:56:37.127Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24773","url":"https://www.cve.org/CVERecord?id=CVE-2022-24773","licence":"CVE Terms of Use","modified":"2025-04-23T18:46:17.431Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2r2c-g63r-vccr","url":"https://github.com/advisories/GHSA-2r2c-g63r-vccr","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:35.918Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24773","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24773","licence":"Public domain","modified":"2026-06-17T04:32:29.367Z"}],"updatedAt":"2026-11-25T22:58:10.162Z","epss":{"score":0.00975,"percentile":0.6308,"date":"2026-12-01T12:00:22.000Z"}}