CVE-2021-46320 – @openzeppelin/contracts
Package
Manager: npm
Name: @openzeppelin/contracts
Vulnerable Version: >=0 <4.4.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00517 pctl0.65758
Details
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.
Metadata
Created: 2022-02-05T00:00:31Z
Modified: 2022-02-11T16:20:03Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-88g8-f5mf-f5rj/GHSA-88g8-f5mf-f5rj.json
CWE IDs: ["CWE-665"]
Alternative ID: GHSA-88g8-f5mf-f5rj
Finding: F138
Auto approve: 1