Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @openzeppelin/contracts
  4. ›
  5. CVE-2022-35916

CVE-2022-35916: Incorrect Resource Transfer Between Spheres

August 1, 2022 (updated December 6, 2022)

OpenZeppelin Contracts is a library for secure smart contract development. Contracts using the cross chain utilities for Arbitrum L2, CrossChainEnabledArbitrumL2 or LibArbitrumL2, will classify direct interactions of externally owned accounts (EOAs) as cross chain calls, even though they are not started on L1. This issue has been patched in v4.7.2. Users are advised to upgrade. There are no known workarounds for this issue.

References

  • github.com/OpenZeppelin/openzeppelin-contracts/pull/3578
  • github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9j3m-g383-29qr
  • nvd.nist.gov/vuln/detail/CVE-2022-35916

Code Behaviors & Features

Detect and mitigate CVE-2022-35916 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.6.0 before 4.7.2

Fixed versions

  • 4.7.2

Solution

Upgrade to version 4.7.2 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-669: Incorrect Resource Transfer Between Spheres

Source file

npm/@openzeppelin/contracts/CVE-2022-35916.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:44 +0000.