Reentrancy Vulnerability in OpenZeppelin Smart Contracts
CVE-2021-46320
7.5HIGH
What is CVE-2021-46320?
In OpenZeppelin versions up to 4.4.0, a reentrancy vulnerability exists in initializer functions that can be invoked outside of contract creation. This situation primarily arises with minimal proxies that invoke untrusted non-view external calls. The design intended to safeguard initializer execution allows for a condition where initializers can be re-entered under specific circumstances, especially due to an exception crafted to facilitate multiple inheritance. As a result, the fundamental assumption of single execution is violated, potentially allowing attackers to exploit this flaw.
