Incorrect Resource Transfer Between Spheres Affecting @openzeppelin/contracts package, versions >=4.6.0 <4.7.2


Severity

Recommended
0.0
low
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-2965580
  • published2 Aug 2022
  • disclosed2 Aug 2022
  • creditUnknown

Introduced: 2 Aug 2022

CVE-2022-35916  (opens in a new tab)
CWE-669  (opens in a new tab)

How to fix?

Upgrade @openzeppelin/contracts to version 4.7.2 or higher.

Overview

@openzeppelin/contracts is a library for contract development.

Affected versions of this package are vulnerable to Incorrect Resource Transfer Between Spheres via contracts using the cross-chain utilities for Arbitrum L2: CrossChainEnabledArbitrumL2 or LibArbitrumL2. They will classify direct interactions of externally owned accounts (EOAs) as cross-chain calls, even though they are not started on L1.

Note: Any action taken by an EOA on the contract can also be taken by the EOA through the bridge if the issue was not present.

CVSS Scores

version 3.1