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](https://forum.openzeppelin.com/t/security-advisory-initialize-uups-implementation-contracts/15301).
References
Link | Resource |
---|---|
https://github.com/OpenZeppelin/openzeppelin-contracts/commit/024cc50df478d2e8f78539819749e94d6df60592 | Patch Third Party Advisory |
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-5vp3-v4hc-gx76 | Third Party Advisory |
https://forum.openzeppelin.com/t/security-advisory-initialize-uups-implementation-contracts/15301 | Issue Tracking Mitigation Patch Vendor Advisory |
Configurations
Information
Published : 2021-11-12 10:15
Updated : 2021-11-15 07:01
NVD link : CVE-2021-41264
Mitre link : CVE-2021-41264
JSON object : View
CWE
CWE-665
Improper Initialization
Products Affected
openzeppelin
- contracts