Skip to main content
← All vulnerabilities
CVE-2021-41264GHSA-5VP3-V4HC-GX76

UUPSUpgradeable vulnerability in OpenZeppelin Contracts

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.3.2
None on Exploit-DB, Metasploit or GitHub

Summary

OpenZeppelin Contracts is a library for smart contract development. In affected versions upgradeable contracts using `UUPSUpgradeable` may be vulnerable to an attack affecting uninitialized implementation contracts. A fix is included in version 4.3.2 of `@openzeppelin/contracts` and `@openzeppelin/contracts-upgradeable`. For users unable to upgrade; initialize implementation contracts using `UUPSUpgradeable` by invoking the initializer function (usually called `initialize`). An example is provided in the forum.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • OpenZeppelin openzeppelin-contracts

    >= 4.1.0 < 4.3.2

  • @openzeppelin/contractsnpm

    From 4.1.0 · fixed in 4.3.2

  • @openzeppelin/contracts-upgradeablenpm

    From 4.1.0 · fixed in 4.3.2

References 3

GitHub · OpenZeppelin/openzeppelin-contracts

forum.openzeppelin.com