CVE-2021-46320
HIGHOpenZeppelin < 4.4.0 - Reentrancy via Initializer Function
Title source: llmDescription
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.
References (1)
Core 1
Core References
Third Party Advisory x_refsource_misc
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9c22-pwxw-p6hx
Scores
CVSS v3
7.5
EPSS
0.0117
EPSS Percentile
63.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Details
CWE
CWE-665
Status
published
Products (2)
openzeppelin/contracts
0 - 4.4.1npm
openzeppelin/openzeppelin
3.2.0 - 4.4.0
Published
Feb 04, 2022
Tracked Since
Feb 18, 2026