Improper Verification of Cryptographic Signature Affecting @openzeppelin/contracts package, versions <4.7.3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.06% (28th 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-OPENZEPPELINCONTRACTS-2980279
  • published14 Aug 2022
  • disclosed14 Aug 2022
  • creditUnknown

Introduced: 14 Aug 2022

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

How to fix?

Upgrade @openzeppelin/contracts to version 4.7.3 or higher.

Overview

@openzeppelin/contracts is a library for contract development.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via ECDSA.recover and ECDSA.tryRecover due to accepting EIP-2098 compact signatures in addition to the traditional 65 byte signature format.

CVSS Scores

version 3.1