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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-35936— Ethermint DoS through Unintended Contract Selfdestruct

Quick assessment

Affected
evmos ethermint
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.

Ethermint是一个 Cosmos SDK 库,用于运行可扩展和可互操作的 EVM 链。 Ethermint v0.18.0之前版本存在安全漏洞,该漏洞源于DeleteAccount函数中的错误,所有使用相同字节码的合约也将在一个合约调用selfdestruct`时停止工作,即使其他合约没有调用 selfdestruct操作码。

CVSS 8.2 · High EPSS 1.43% · P72

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-35936

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
Ethermint DoS through Unintended Contract Selfdestruct
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
将资源暴露给错误范围
Source: CVE Program / CVE List V5
Vulnerability Title
Ethermint 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Ethermint是一个 Cosmos SDK 库,用于运行可扩展和可互操作的 EVM 链。 Ethermint v0.18.0之前版本存在安全漏洞,该漏洞源于DeleteAccount函数中的错误,所有使用相同字节码的合约也将在一个合约调用selfdestruct`时停止工作,即使其他合约没有调用 selfdestruct操作码。
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
evmos ethermint <= 0.17.2 -

II. Public POCs for CVE-2022-35936

# 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-35936

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

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

Vendor Advisories for CVE-2022-35936 (1)

Other References for CVE-2022-35936 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-35936

No comments yet


Leave a comment