Improper Verification of Cryptographic Signature Affecting org.webjars.npm:node-forge package, versions [,1.3.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-2430340
  • published20 Mar 2022
  • disclosed20 Mar 2022
  • creditMoosa Yahyazadeh

Introduced: 20 Mar 2022

CVE-2022-24772  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:node-forge to version 1.3.1 or higher.

Overview

org.webjars.npm:node-forge is a WebJar for node-forge.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature due to RSA's PKCS#1 v1.5 signature verification code which 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.

References

CVSS Scores

version 3.1