Read the docs
TI-2022-26618 Aliases GHSA-gwj5-wp6r-5q9f

Cronos vulnerable to DoS through unintended Contract Selfdestruct

Priority LOW 38CWE-668Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

In Cronos nodes running versions before v0.7.0, the contract selfdestruct invocation permanently removes the corresponding bytecode from the internal database storage. However, due to a bug in Ethermint, 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. Thanks to the successfully coordinated security vulnerability disclosure, no smart contracts were impacted through the use of this vulnerability. Smart contract states and storage values are not affected by this vulnerability. This problem has been patched in Cronos v0.8.0. The patch has state machine-breaking changes and the required coordinated network upgrade was done on the block height 3982500 on the Cronos mainnet beta network. 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.

Why it matters now

Fix Fixed github.com/crypto-org-chain/cronos (Go): 0.8.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/crypto-org-chain/cronos (Go)before 0.8.00.8.0Patch availableGHSA-gwj5-wp6r-5q9f
  • github.com/crypto-org-chain/cronos (Go) Vendor— Affected before 0.8.0 Fixed in 0.8.0 Patch available GHSA-gwj5-wp6r-5q9f

Remediation

  • Fix · GHSA-gwj5-wp6r-5q9f github.com/crypto-org-chain/cronos (Go) Fixed in 0.8.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-gwj5-wp6r-5q9f

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences