PT-2021-23225
CVE-2021-41264
·
Published
2021-09-15
·
Updated
2021-11-15
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
@openzeppelin/contracts versions prior to 4.3.2
@openzeppelin/contracts-upgradeable versions prior to 4.3.2
Description
The issue affects upgradeable contracts using
UUPSUpgradeable in OpenZeppelin Contracts, a library for smart contract development. These contracts may be vulnerable to an attack affecting uninitialized implementation contracts.Recommendations
For versions prior to 4.3.2, update to version 4.3.2 of
@openzeppelin/contracts and @openzeppelin/contracts-upgradeable.
As a temporary workaround for users unable to upgrade, initialize implementation contracts using UUPSUpgradeable by invoking the initializer function, usually called initialize. Found an issue in the description? Have something to add? Feel free to write us 👾