CVE-2021-46320
Improper Initialization in OpenZeppelin
7.5
HIGH
CVSS 3.1
EPSS 0.52%
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.
How to fix CVE-2021-46320
To remediate CVE-2021-46320, upgrade the affected package to a fixed version below.
- —upgrade to 4.4.1 or later
Is CVE-2021-46320 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 4.4.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |