Live threats

All CVEs / Digitalbazaar

CVE-2022-24771Digitalbazaar Forge

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
No
Published
Mar 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Forge.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm node-forge < 1.3.0 1.3.0 npm install node-forge@1.3.0

Per OSV / GitHub Advisories (GHSA-cfm4-qjh2-4765). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
digitalbazaarforge< 1.3.0

Official sources

References

Links published by the sources. Open them with care.