Upgradeable contracts using UUPSUpgradeable
may be vulnerable to an attack affecting uninitialized implementation contracts. We will update this advisory with more information soon.
A fix is included in version 4.3.2 of @openzeppelin/contracts
and @openzeppelin/contracts-upgradeable
.
Initialize implementation contracts using UUPSUpgradeable
by invoking the initializer function (usually called initialize
). An example is provided in the forum.
If you have any questions or comments about this advisory, or need assistance executing the mitigation, email us at security@openzeppelin.com.
{ "nvd_published_at": "2021-11-12T18:15:00Z", "github_reviewed_at": "2021-09-14T22:17:42Z", "severity": "CRITICAL", "github_reviewed": true, "cwe_ids": [ "CWE-665" ] }