openzeppelin contracts 初始化不恰当

admin 2023-11-30 05:17:45 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 openzeppelin contracts 初始化不恰当

CVE编号

CVE-2022-39384

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-11-05
漏洞描述
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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3006
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GH...
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 openzeppelin contracts * From (including) 3.2.0 Up to (excluding) 4.4.1
运行在以下环境
应用 openzeppelin contracts-upgradeable * From (including) 3.2.0 Up to (excluding) 4.4.1
阿里云评分 5.1
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-665 初始化不恰当
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0