{"cve":"CVE-2022-39384","nvd":{"published":"2022-11-04T22:15:12.100","modified":"2026-06-17T04:58:15.520","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6},"cwes":["CWE-665"],"references":["https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3006","https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9c22-pwxw-p6hx","https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3006","https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9c22-pwxw-p6hx"],"products":["openzeppelin:contracts","openzeppelin:contracts_upgradeable"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-39384","score":0.00553,"percentile":0.46215,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-88g8-f5mf-f5rj","url":"https://osv.dev/vulnerability/GHSA-88g8-f5mf-f5rj","summary":"Improper Initialization in OpenZeppelin","modified":"2026-07-16T03:56:17.546633851Z","packages":[{"ecosystem":"npm","name":"@openzeppelin/contracts","purl":"pkg:npm/%40openzeppelin/contracts","ranges":["<4.4.1"],"fixed":["4.4.1"]}]},{"id":"GHSA-9c22-pwxw-p6hx","url":"https://osv.dev/vulnerability/GHSA-9c22-pwxw-p6hx","summary":"OpenZeppelin Contracts initializer reentrancy may lead to double initialization","modified":"2026-07-16T03:59:27.534685008Z","packages":[{"ecosystem":"npm","name":"@openzeppelin/contracts","purl":"pkg:npm/%40openzeppelin/contracts","ranges":[">=3.2.0 <4.4.1"],"fixed":["4.4.1"]},{"ecosystem":"npm","name":"@openzeppelin/contracts-upgradeable","purl":"pkg:npm/%40openzeppelin/contracts-upgradeable","ranges":[">=3.2.0 <4.4.1"],"fixed":["4.4.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}