CVE & CISA-KEV Catalog

CVE-2022-35936

HIGH
8.2
CVSS v3
NVD

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.

How to fix

Remediation Available
ethermintNVD
Affected:< 0.18.0Fixed in:0.18.0CVE-2022-35936derived from NVD
evmosNVD
Affected:< 7.0.0Fixed in:7.0.0CVE-2022-35936derived from NVD
kavaNVD
Affected:< 0.18.0Fixed in:0.18.0CVE-2022-35936derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Exploit Intelligence

1.14%probability of exploitation in 30 days
63rdpercentile

Moderate risk: more likely to be exploited than 63% of all known CVEs.

References

Exploit1
Third-Party Advisory1

Related Vulnerabilities

Other CWE-668 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-39952Critical9.8100%-Fix
CVE-2017-16597Critical9.857%--
CVE-2017-16603High8.854%--
CVE-2024-25153Critical9.842%-Fix
CVE-2017-0215Medium5.336%--
CVE-2022-25236Critical9.834%-Fix
Embed a live status badge for CVE-2022-35936
CVE-2022-35936 severity badge

Markdown

[![CVE-2022-35936](https://tridentstack.com/cve/badge/CVE-2022-35936.svg)](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 free

This 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.