evmos ethermint 将资源暴露给错误范围

admin 2023-11-30 06:35:09 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 evmos ethermint 将资源暴露给错误范围

CVE编号

CVE-2022-35936

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-08-05
漏洞描述
Ethermint is an Ethereum library. In Ethermint running versions before `v0.17.2`, the contract `selfdestruct` invocation permanently removes the corresponding bytecode from the internal database storage. However, due to a bug in the `DeleteAccount`function, all contracts that used the identical bytecode (i.e shared the same `CodeHash`) will also stop working once one contract invokes `selfdestruct`, even though the other contracts did not invoke the `selfdestruct` OPCODE. This vulnerability has been patched in Ethermint version v0.18.0. The patch has state machine-breaking changes for applications using Ethermint, so a coordinated upgrade procedure is required. A workaround is available. If a contract is subject to DoS due to this issue, the user can redeploy the same contract, i.e. with identical bytecode, so that the original contract's code is recovered. The new contract deployment restores the `bytecode hash -> bytecode` entry in the internal state.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/evmos/ethermint/blob/c9d42d667b753147977a725e98ed116c933c7...
https://github.com/evmos/ethermint/commit/144741832007a26dbe950512acbda4ed95b2a451
https://github.com/evmos/ethermint/security/advisories/GHSA-f92v-grc2-w2fg
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 crypto cronos * Up to (including) 0.7.0
运行在以下环境
应用 evmos ethermint * Up to (excluding) 0.18.0
运行在以下环境
应用 evmos evmos * Up to (excluding) 7.0.0
运行在以下环境
应用 kava kava * Up to (excluding) 0.18.0
阿里云评分 4.8
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-668 将资源暴露给错误范围
- 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