CVE-2022-24772 Improper Verification of Cryptographic Signature in `node-forge`
HighCVSS 7.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
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 issue-tracking patch third-party-advisory
- github.com
- security-tracker.debian.org vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com product