CVE-2022-24773: Improper Verification of Cryptographic Signature in `node-forge`

Published Mar 18, 2022
·
Updated

A flaw was found in the node-forge library when verifying the signature on the ASN.1 structure in RSA PKCS#1 v1.5. This flaw allows an attacker to obtain successful verification for invalid DigestInfo structure, affecting the integrity of the attacked resource.

Other sources

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.

Affected Software

2 affected componentsFixes available
redhat/node-forge<1.3.0
1.3.0
digitalbazaar Forge Node.js<1.3.0

Event History

Mar 18, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·01:30 PM
Data Sourced
via MITRE·01:30 PM
DescriptionSeverityWeakness
Mar 23, 2022
Data Sourced
via Red Hat·08:54 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-24773?

CVE-2022-24773 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2022-24773?

To fix CVE-2022-24773, upgrade the node-forge library to version 1.3.0 or later.

3

What is the impact of CVE-2022-24773?

CVE-2022-24773 allows attackers to achieve false positive signature verifications, which can compromise data integrity.

4

Which versions of node-forge are affected by CVE-2022-24773?

CVE-2022-24773 affects versions of node-forge prior to 1.3.0.

5

Is there a workaround for CVE-2022-24773 if I cannot update?

Currently, there are no known workarounds for CVE-2022-24773, and the best course of action is to update the library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203