CVE-2022-35936
HIGHDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 63% of all known CVEs.
References
Related Vulnerabilities
Other CWE-668 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-39952 | Critical | 9.8 | 100% | - | Fix |
| CVE-2017-16597 | Critical | 9.8 | 57% | - | - |
| CVE-2017-16603 | High | 8.8 | 54% | - | - |
| CVE-2024-25153 | Critical | 9.8 | 42% | - | Fix |
| CVE-2017-0215 | Medium | 5.3 | 36% | - | - |
| CVE-2022-25236 | Critical | 9.8 | 34% | - | Fix |
Embed a live status badge for CVE-2022-35936
Markdown
[](https://tridentstack.com/cve/CVE-2022-35936)HTML
<a href="https://tridentstack.com/cve/CVE-2022-35936"><img src="https://tridentstack.com/cve/badge/CVE-2022-35936.svg" alt="CVE-2022-35936"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.