CVE-2021-41264GHSA-5VP3-V4HC-GX76
UUPSUpgradeable vulnerability in OpenZeppelin Contracts
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.3.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- OpenZeppelin openzeppelin-contracts
>= 4.1.0 < 4.3.2
- @openzeppelin/contractsnpm
From 4.1.0 · fixed in 4.3.2
- @openzeppelin/contracts-upgradeablenpm
From 4.1.0 · fixed in 4.3.2