CVE-2022-39384
CVSS V2 None
CVSS V3 Medium 5.6
Description
OpenZeppelin Contracts is a library for secure smart contract development. Before version 4.4.1 but after 3.2.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 in the scenario described above, breaking the expectation that there is a single execution. Note that upgradeable proxies are commonly initialized together with contract creation, where reentrancy is not feasible, so the impact of this issue is believed to be minor. This issue has been patched, please upgrade to version 4.4.1. As a workaround, avoid untrusted external calls during initialization.
Overview
- CVE ID
- CVE-2022-39384
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-11-04T22:15:12
- Last Modified Date
- 2022-12-06T19:51:44
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* | 1 | OR | 3.2.0 | 4.4.1 |
cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:* | 1 | OR | 3.2.0 | 4.4.1 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- LOW
- Base Score
- 5.6
- Base Severity
- MEDIUM
- Exploitability Score
- 2.2
- Impact Score
- 3.4
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-39384 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39384 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-11-04 23:00:12 | Added to TrackCVE | |||
2022-12-07 17:24:21 | 2022-11-04T22:15Z | 2022-11-04T22:15:12 | CVE Published Date | updated |
2022-12-07 17:24:21 | 2022-12-06T19:51:44 | CVE Modified Date | updated | |
2022-12-07 17:24:21 | Analyzed | Vulnerability Status | updated | |
2022-12-07 17:24:23 | CPE Information | updated |