@openzeppelin/contracts
Affected
- introduced
0, fixed4.4.1(semver)
Fixed versions
4.4.1
Fix
- Fixed version
4.4.1npm install @openzeppelin/[email protected]
Advisory
Also known as: CVE-2021-46320, CVE-2022-39384, GHSA-9c22-pwxw-p6hx
Improper Initialization in OpenZeppelin
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.
High Basis: The source's own band: HIGH
0, fixed 4.4.1 (semver)4.4.1
4.4.1npm install @openzeppelin/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0