Security mailing lists by PureSourceCode

CVE-2022-35936

MEDIUM 5.3CVSS 3.1

Ethermint vulnerable to DoS through unintended Contract Selfdestruct

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 DeleteAccountfunction, 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.

Published
5 Aug 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-668
Also known as
GHSA-f92v-grc2-w2fgGO-2022-0760
Sources
NVDJSONOSV GHSA-f92v-grc2-w2fgJSONOSV GO-2022-0760JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD evmos ethermint
cpe:2.3:a:evmos:ethermint:*:*:*:*:*:*:*:*
< 0.18.0 0.18.0
NVD kava kava
cpe:2.3:a:kava:kava:*:*:*:*:*:*:*:*
< 0.18.0 0.18.0
NVD crypto cronos
cpe:2.3:a:crypto:cronos:*:*:*:*:*:*:*:*
<= 0.7.0
NVD evmos evmos
cpe:2.3:a:evmos:evmos:*:*:*:*:*:*:*:*
< 7.0.0 7.0.0
OSV Go github.com/evmos/ethermint < 0.18.0 0.18.0
OSV Go github.com/evmos/evmos < 7.0.0 7.0.0
OSV Go github.com/crypto-org-chain/cronos < 0.7.1-rc2 0.7.1-rc2
OSV Go github.com/Kava-Labs/kava < 0.18.0 0.18.0
OSV Go github.com/evmos/evmos all versions
OSV Go github.com/evmos/evmos/v2 all versions
OSV Go github.com/evmos/evmos/v3 all versions
OSV Go github.com/evmos/evmos/v4 all versions
OSV Go github.com/evmos/evmos/v5 all versions
OSV Go github.com/evmos/evmos/v6 all versions
OSV Go github.com/evmos/evmos/v7 < 7.0.0 7.0.0
OSV Go github.com/kava-labs/kava < 0.18.0 0.18.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 5 Aug 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.