CVE-2022-24771: Forge - Signature Forgery
- Cve: CVE-2022-24771
- Name: Forge - Signature Forgery
- 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 is lenient in checking the digest algorithm structure. This can allow a crafted structure that steals padding bytes and uses unchecked portion of the PKCS#1 encoded message 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.
- Impact: Attackers can forge RSA signatures, potentially leading to impersonation or unauthorized access.
- Remediation: Update to node-forge version 1.3.0 or later.
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00779
- Epss percentile: 0.56837
- Assignee: [email protected]
- Published at: 2022-03-18T14:15:10Z
- Age in days: 1712
- Modified at: 2026-06-17T04:32:29Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24771
- Nvd status: modified
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1 | nvd | Patch, Third Party Advisory |
| https://github.com/digitalbazaar/forge/security/advisories/GHSA-cfm4-qjh2-4765 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| digitalbazaar:forge | < 1.3.0 | no | nvd | /v1/products/digitalbazaar/forge |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| digitalbazaar/forge | commit, package, security_advisory | yes | /v1/repositories/digitalbazaar/forge |
Index
- Repositories: 352
- Repositories high signal: 33
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts