Improper Input Validation Affecting @openzeppelin/contracts-upgradeable package, versions >=4.1.0 <4.3.2


Severity

Recommended
0.0
high
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-1585626
  • published 16 Sep 2021
  • disclosed 15 Sep 2021
  • credit Unknown

Introduced: 15 Sep 2021

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

How to fix?

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

Overview

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

Affected versions of this package are vulnerable to Improper Input Validation. Upgradeable contracts using UUPSUpgradeable may be vulnerable to an attack affecting uninitialized implementation contracts.

Due to this vulnerability, it is recommended that all projects using the UUPS proxy pattern should initialize their implementation contracts, even after upgrading to the fixed version. An example of how to do this is here.

References

CVSS Scores

version 3.1
Expand this section

Snyk

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