Every CVE Search/ Get API key

CVE-2022-24773

Improper Verification of Cryptographic Signature in `node-forge`

5.3 MediumFix available

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 properly check DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in node-forge version 1.3.0. There are currently no known workarounds.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

0.96%Up 0.1 points since Mar 19, 2022
90%50%10%1%

What each source reports

CVE List Score used 5.3

Improper Verification of Cryptographic Signature in `node-forge`

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 properly check DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in node-forge version 1.3.0. There are currently no known workarounds.

Record
CVE-2022-24773
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-347
Updated
2026-11-02
EUVDEUVD-2022-1274 5.3

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 properly check DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in node-forge version 1.3.0. There are currently no known workarounds.

Record
EUVD-2022-1274
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-2r2c-g63r-vccr 5.3

Improper Verification of Cryptographic Signature in `node-forge`

Impact

RSA PKCS#1 v1.5 signature verification code is not properly checking DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest.

Patches

The issue has been addressed in node-forge 1.3.0.

For more information

If you have any questions or comments about this advisory:

Record
GHSA-2r2c-g63r-vccr
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-347
Updated
2026-11-02
GitHub AdvisoriesGHSA-5rrq-pxf6-6jx5 No score

Prototype Pollution in node-forge debug API.

Impact

The forge.debug API had a potential prototype pollution issue if called with untrusted input. The API was only used for internal debug purposes in a safe way and never documented or advertised. It is suspected that uses of this API, if any exist, would likely not have used untrusted inputs in a vulnerable way.

Patches

The forge.debug API and related functions were removed in 1.0.0.

Workarounds

Don't use the forge.debug API directly or indirectly with untrusted input.

References

For more information

If you have any questions or comments about this advisory:

Record
GHSA-5rrq-pxf6-6jx5
Weakness
CWE-1321
Updated
2026-11-02
NVD 5.3

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 properly check DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in node-forge version 1.3.0. There are currently no known workarounds.

Record
CVE-2022-24773
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-347
Updated
2026-11-02
OSV 5.3

Improper Verification of Cryptographic Signature in `node-forge`

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 properly check DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in node-forge version 1.3.0. There are currently no known workarounds.

Record
CVE-2022-24773
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-347
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2022-24773 5.3

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 properly check DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in node-forge version 1.3.0. There are currently no known workarounds.

Record
DEBIAN-CVE-2022-24773
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVGHSA-2r2c-g63r-vccr 5.3

Improper Verification of Cryptographic Signature in `node-forge`

Impact

RSA PKCS#1 v1.5 signature verification code is not properly checking DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest.

Patches

The issue has been addressed in node-forge 1.3.0.

For more information

If you have any questions or comments about this advisory:

Record
GHSA-2r2c-g63r-vccr
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-347
Updated
2026-11-02
OSVUBUNTU-CVE-2022-24773 5.3

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 properly check DigestInfo for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in node-forge version 1.3.0. There are currently no known workarounds.

Record
UBUNTU-CVE-2022-24773
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVCLSA-2026-1774916733 No score

TuxCare security update for node-forge (4 CVEs)

TuxCare rebuilt node-forge to address 4 CVEs. Fixed in 0.10.0-tuxcare.4.

Record
CLSA-2026-1774916733
Updated
2026-11-02
OSVGHSA-5rrq-pxf6-6jx5 No score

Prototype Pollution in node-forge debug API.

Impact

The forge.debug API had a potential prototype pollution issue if called with untrusted input. The API was only used for internal debug purposes in a safe way and never documented or advertised. It is suspected that uses of this API, if any exist, would likely not have used untrusted inputs in a vulnerable way.

Patches

The forge.debug API and related functions were removed in 1.0.0.

Workarounds

Don't use the forge.debug API directly or indirectly with untrusted input.

References

For more information

If you have any questions or comments about this advisory:

Record
GHSA-5rrq-pxf6-6jx5
Weakness
CWE-1321
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2022-24773 No score

CVE-2022-24773 in node-forge - Patched by Root

Root has patched CVE-2022-24773 in the node-forge package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2022-24773
Updated
2026-11-02
OSVROOT-APP-NPM-GHSA-5rrq-pxf6-6jx5 No score

GHSA-5rrq-pxf6-6jx5 in node-forge - Patched by Root

Root has patched GHSA-5rrq-pxf6-6jx5 in the node-forge package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-GHSA-5rrq-pxf6-6jx5
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
node-forge
npm
before 1.3.0
1.3.0
node-forge
npm
before 1.0.0
1.0.0
node-forge
TuxCare:npm
From an advisory covering 3 CVEs
0.10.0-tuxcare.0 up to 0.10.0-tuxcare.4, plus listed versions
0.10.00.10.0-tuxcare.10.10.0-tuxcare.20.10.0-tuxcare.3
0.10.0-tuxcare.4
node-node-forge
Debian:11
before 0.10.0~dfsg-3+deb11u1, plus listed versions
0.10.0~dfsg-3
0.10.0~dfsg-3+deb11u1
node-forge
Root:npm
before 0.10.0-aikido.3
0.10.0-aikido.30.7.1-aikido.70.7.6-aikido.20.10.0-aikido.41.3.0-aikido.11.3.0-aikido.21.3.0-aikido.31.3.0-aikido.4
@rootio/node-forge
Root:npm
before 0.10.0-root.io.3
0.10.0-root.io.30.7.1-root.io.70.7.6-root.io.20.10.0-root.io.41.3.0-root.io.21.3.0-root.io.11.3.0-root.io.31.3.0-root.io.4
node-forge
Root:npm
before 1.0.0-aikido.1
1.0.0-aikido.1
@rootio/node-forge
Root:npm
before 1.0.0-root.io.1
1.0.0-root.io.1
node-node-forge
Ubuntu:20.04:LTS
All versions, plus listed versions
0.8.5~dfsg-20.9.1~dfsg-1
None known
node-node-forge
Ubuntu:22.04:LTS
All versions, plus listed versions
0.10.0~dfsg-31.2.1~dfsg-2
None known

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-24773 is a medium vulnerability (CVSS 5.3) in Digitalbazaar Forge, published January 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.96%, the 61st percentile. Fixed in node-forge 1.3.0.

References

Show 6 moreShow less
MoveEnter Open