Vulnerabilities · 2021 · Openzeppelin
CVE-2021-46320
Openzeppelin 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 products
Openzeppelin. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openzeppelin runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Openzeppelin products
CVE-2024-45304CVE-2024-27094CVE-2023-49798CVE-2023-40014CVE-2023-34459CVE-2023-34234CVE-2023-30542CVE-2023-30541All 22
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.