CVE-2021-41264: Improper Initialization
(updated )
OpenZeppelin Contracts is a library for smart contract development.A fix is included 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.
References
- forum.openzeppelin.com/t/security-advisory-initialize-uups-implementation-contracts/15301
- github.com/OpenZeppelin/openzeppelin-contracts/commit/024cc50df478d2e8f78539819749e94d6df60592
- github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-5vp3-v4hc-gx76
- github.com/advisories/GHSA-5vp3-v4hc-gx76
- nvd.nist.gov/vuln/detail/CVE-2021-41264
Detect and mitigate CVE-2021-41264 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →