CVE-2021-41264
Last modified
CVE-2021-41264 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.44% chance of exploitation in the next 30 days.
Description
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openzeppelin | Contracts | >= 4.1.0, < 4.3.2 |
References
- https://forum.openzeppelin.com/t/security-advisory-initialize-uups-implementation-contracts/15301Issue Tracking, Mitigation, Patch, Vendor Advisory
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/024cc50df478d2e8f78539819749e94d6df60592Patch, Third Party Advisory
- https://forum.openzeppelin.com/t/security-advisory-initialize-uups-implementation-contracts/15301Issue Tracking, Mitigation, Patch, Vendor Advisory
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/024cc50df478d2e8f78539819749e94d6df60592Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41264?
How severe is CVE-2021-41264?
How do I fix CVE-2021-41264?
Are you affected by CVE-2021-41264?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
