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


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.07% (30th percentile)
Expand this section
NVD
5.3 medium
Expand this section
Red Hat
5.3 medium

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 ID SNYK-JAVA-ORGWEBJARSNPM-2430338
  • published 20 Mar 2022
  • disclosed 20 Mar 2022
  • credit Moosa Yahyazadeh

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 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.

References