CVE-2021-46320: High severity openzeppelin contracts vulnerability
In OpenZeppelin <=v4.4.0, initializer functions that are invoked separate from contract creation (the most prominent example being minimal proxies) may be reentered if they make an untrusted non-view external call. Once an initializer has finished running it can never be re-executed. However, an exception put in place to support multiple inheritance made reentrancy possible, breaking the expectation that there is a single execution.
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2021-46320.
What is the severity of CVE-2021-46320?
The severity of CVE-2021-46320 is high, with a severity value of 7.5.
Which software versions are affected by CVE-2021-46320?
OpenZeppelin versions 3.2.0 to 4.4.0 are affected by CVE-2021-46320.
How can this vulnerability be exploited?
This vulnerability can be exploited by invoking initializer functions separately from contract creation and making an untrusted non-view external call.
Is there a fix for CVE-2021-46320?
Yes, OpenZeppelin has released a fix for CVE-2021-46320. It is recommended to update to a version higher than 4.4.0.