CVE-2021-41264
published critical CVSS 3.1 · 9.8UUPSUpgradeable vulnerability in OpenZeppelin Contracts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenZeppelin | — | openzeppelin-contracts>= 4.1.0 < 4.3.2 | Affected | Not stated | GitHub_M |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenZeppelin | openzeppelin-contracts | >= 4.1.0 < 4.3.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-665 CWE-665: Improper Initialization
References
3Provider assertions
2GitHub_M · cna
UUPSUpgradeable vulnerability in OpenZeppelin Contracts
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 47f54156f810fff0a262f57cfffa92daf02a70252536e565b130151540f3403d
- Ingested
- 23 Sep 2026, 07:56:14 UTC
- Source record
- Official CVE record