CVE-2022-24771 Improper Verification of Cryptographic Signature in node-forge
HighCVSS 7.5
EPSS 0.78%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
5 packages: 3 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-node-forge(Ubuntu 20.04) | = 0.8.5~dfsg-2; = 0.9.1~dfsg-1; All versions | No fix listed | No fix yet |
| ubuntu/node-node-forge(Ubuntu 22.04) | = 0.10.0~dfsg-3; = 1.2.1~dfsg-2; All versions | No fix listed | No fix yet |
| debian/node-node-forge(Debian 11) | < 0.10.0~dfsg-3+deb11u1; = 0.10.0~dfsg-3 | 0.10.0~dfsg-3+deb11u1 | Fixed |
| digitalbazaar forge | < 1.3.0; = < 1.3.0 | 1.3.0 | Fixed |
| npm node-forge(npm) | < 1.3.0 | 1.3.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm node-forge(npm) | < 1.3.0 | 1.3.0 |
| debian/node-node-forge(Debian:11) | < 0.10.0~dfsg-3+deb11u1 | 0.10.0~dfsg-3+deb11u1 |
| debian/node-node-forge(Debian:11) | = 0.10.0~dfsg-3 | No fix listed |
| digitalbazaar forge | = < 1.3.0 | No fix listed |
| ubuntu/node-node-forge(Ubuntu:22.04) | All versions | No fix listed |
| digitalbazaar forge | < 1.3.0 | 1.3.0 |
| ubuntu/node-node-forge(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/node-node-forge(Ubuntu:20.04) | = 0.8.5~dfsg-2 | No fix listed |
| ubuntu/node-node-forge(Ubuntu:20.04) | = 0.9.1~dfsg-1 | No fix listed |
| ubuntu/node-node-forge(Ubuntu:22.04) | = 0.10.0~dfsg-3 | No fix listed |
| ubuntu/node-node-forge(Ubuntu:22.04) | = 1.2.1~dfsg-2 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com patch
- github.com
- security-tracker.debian.org vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com product