# CVE-2022-24773: Improper Verification of Cryptographic Signature in `node-forge`

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 63% of CVEs (2026-12-01)
- Published: 2022-03-18T13:30:14.000Z
- Modified: 2026-06-17T04:32:29.367Z
- Also known as: GHSA-2r2c-g63r-vccr
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- digitalbazaar forge: < 1.3.0; before 1.3.0
- node-forge (npm): before 1.3.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1> (patch, third-party-advisory, web)
- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-2r2c-g63r-vccr> (third-party-advisory, web)
- <https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24773> (advisory)
- <https://github.com/digitalbazaar/forge> (package)

## Sources

- CVE List: [CVE-2022-24773](https://www.cve.org/CVERecord?id=CVE-2022-24773), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-2r2c-g63r-vccr](https://github.com/advisories/GHSA-2r2c-g63r-vccr), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24773](https://nvd.nist.gov/vuln/detail/CVE-2022-24773), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24773 · Whole record: https://cve.day/CVE-2022-24773.json · Rebuilt by cve.day 2026-11-25T22:58:10.162Z
