{"id":"GHSA-2r2c-g63r-vccr","summary":"Improper Verification of Cryptographic Signature in `node-forge`","details":"### 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)","aliases":["CVE-2022-24773"],"modified":"2023-11-08T04:08:35.918577Z","published":"2022-03-18T23:10:48Z","database_specific":{"nvd_published_at":"2022-03-18T14:15:00Z","cwe_ids":["CWE-347"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-03-18T23:10:48Z"},"references":[{"type":"WEB","url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-2r2c-g63r-vccr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24773"},{"type":"WEB","url":"https://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1"},{"type":"WEB","url":"https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2"},{"type":"PACKAGE","url":"https://github.com/digitalbazaar/forge"}],"affected":[{"package":{"name":"node-forge","ecosystem":"npm","purl":"pkg:npm/node-forge"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-2r2c-g63r-vccr/GHSA-2r2c-g63r-vccr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}