CVE-2021-41264
November 12, 2021
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).
Affected Packages
@openzeppelin/contracts (NPM):
Affected version(s) >=4.1.0 <4.3.2Fix Suggestion:
Update to version 4.3.2@openzeppelin/contracts-upgradeable (NPM):
Affected version(s) >=4.1.0 <4.3.2Fix Suggestion:
Update to version 4.3.2Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
CVSS v2
Base Score:
7.5
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Weakness Type (CWE)
Improper Initialization
EPSS
Base Score:
0.64