CVE-2021-46320

Source
https://cve.org/CVERecord?id=CVE-2021-46320
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46320.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-46320
Aliases
Published
2022-02-04T12:15:07.623Z
Modified
2026-07-22T03:57:29.793440Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/openzeppelin/openzeppelin-contracts

Affected ranges

Type
GIT
Repo
https://github.com/openzeppelin/openzeppelin-contracts
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "3.2.0"
        },
        {
            "last_affected": "4.4.0"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:openzeppelin:openzeppelin:*:*:*:*:*:*:*:*"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46320.json"