Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-39384— OpenZeppelin Contracts initializer reentrancy may lead to double initialization

Quick assessment

Affected
OpenZeppelin openzeppelin-contracts
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OpenZeppelin是一个应用软件。一个安全区块链应用的标准。 OpenZeppelin Contracts 3.2.0及之后版本至4.4.1之前版本存在安全漏洞,该漏洞源于为了支持多重继承而设置的异常打破了与合约创建分开调用的初始化函数单次执行的预期。

CVSS 5.6 · Medium EPSS 0.55% · P45
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39384

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OpenZeppelin Contracts initializer reentrancy may lead to double initialization
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
初始化不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
OpenZeppelin 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OpenZeppelin是一个应用软件。一个安全区块链应用的标准。 OpenZeppelin Contracts 3.2.0及之后版本至4.4.1之前版本存在安全漏洞,该漏洞源于为了支持多重继承而设置的异常打破了与合约创建分开调用的初始化函数单次执行的预期。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
OpenZeppelin openzeppelin-contracts >= 3.2.0, < 4.4.1 -

II. Public POCs for CVE-2022-39384

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-39384

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-39384 (1)

Vendor Advisories for CVE-2022-39384 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-39384

No comments yet


Leave a comment