High severity7.5NVD Advisory· Published Mar 18, 2022· Updated Jun 17, 2026
CVE-2022-24772
CVE-2022-24772
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 check for tailing garbage bytes after decoding a DigestInfo ASN.1 structure. This can allow padding bytes to be removed and garbage data added 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 workarounds.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
node-forgenpm | < 1.3.0 | 1.3.0 |
Affected products
3cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*+ 1 more
- cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*range: <1.3.0
- (no CPE)range: < 1.3.0
Patches
Vulnerability mechanics
References
5- github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1nvdPatchThird Party AdvisoryWEB
- github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-x4jg-mjrx-434gghsaADVISORY
- github.com/digitalbazaar/forge/security/advisories/GHSA-x4jg-mjrx-434gnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-24772ghsaADVISORY
News mentions
0No linked articles in our index yet.