CVE-2021-41264 UUPSUpgradeable vulnerability in OpenZeppelin Contracts
CriticalCVSS 9.8
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openzeppelin @openzeppelin/contracts | >= 4.1.0, < 4.3.2 | 4.3.2 | Fixed |
| openzeppelin @openzeppelin/contracts(npm) | >= 4.1.0, < 4.3.2 | 4.3.2 | Fixed |
| openzeppelin @openzeppelin/contracts-upgradeable(npm) | >= 4.1.0, < 4.3.2 | 4.3.2 | Fixed |
| openzeppelin-contracts | = >= 4.1.0 < 4.3.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openzeppelin @openzeppelin/contracts(npm) | >= 4.1.0, < 4.3.2 | 4.3.2 |
| openzeppelin @openzeppelin/contracts-upgradeable(npm) | >= 4.1.0, < 4.3.2 | 4.3.2 |
| openzeppelin @openzeppelin/contracts | >= 4.1.0, < 4.3.2 | 4.3.2 |
| openzeppelin-contracts | = >= 4.1.0 < 4.3.2 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- forum.openzeppelin.com issue-tracking mitigation patch vendor-advisory
- github.com
- github.com product