CVEvulnerability

CVE-2021-46320

7.5 HIGH Published 2022-02-04 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-02-04
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
Weaknesses
CWE-665

Description

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 configurations

• openzeppelin openzeppelin (>= 3.2.0 <= 4.4.0)

Related

Weakness · CWE (1)

  • CWE-665 Improper Initialization weakness

References