Function Call With Incorrect Argument Affecting @openzeppelin/contracts-upgradeable package, versions >=4.3.0 <4.4.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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-JS-OPENZEPPELINCONTRACTSUPGRADEABLE-2336322
  • published 12 Jan 2022
  • disclosed 12 Jan 2022
  • credit @GeraldHolst

Introduced: 12 Jan 2022

CVE NOT AVAILABLE CWE-686 Open this link in a new tab

How to fix?

Upgrade @openzeppelin/contracts-upgradeable to version 4.4.2 or higher.

Overview

@openzeppelin/contracts-upgradeable is a Secure Smart Contract library for Solidity.

Affected versions of this package are vulnerable to Function Call With Incorrect Argument. The GovernorCompatibilityBravo module may lead to the creation of governance proposals that execute function calls with incorrect arguments due to bad ABI encoding.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None