Improper Verification of Cryptographic Signature Affecting browserify-sign package, versions >=2.6.0 <4.2.2


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-JS-BROWSERIFYSIGN-6037026
  • published27 Oct 2023
  • disclosed26 Oct 2023
  • creditBing Shi

Introduced: 26 Oct 2023

CVE-2023-46234  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade browserify-sign to version 4.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature in the dsaVerify function. An attacker can construct signatures that can be successfully verified by any public key, leading to a signature forgery attack. This is achieved by exploiting an upper bound check issue in the checkValue function, which incorrectly checks the upper bound of the passed parameters.

Note: This vulnerability affects all places in the project that involve DSA verification of user-input signatures.

References

CVSS Scores

version 3.1