Vulnerability · Published Jun 6, 2024 · Assigned by GitHub_M

CVE-2024-37153Evmos's contract balance not updating correctly after interchain transaction

High 7.5

In plain English

A high-severity security flaw in evmos from evmos. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 50.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. There is an issue with how to liquid stake using Safe which itself is a contract. The bug only appears when there is a local state change together with an ICS20 transfer in the same function and uses the contract's balance, that is using the contract address as the sender parameter in an ICS20 transfer using the ICS20 precompile. This is in essence the "infinite money glitch" allowing contracts to double the supply of Evmos after each transaction.The issue has been patched in versions >=V18.1.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/evmos/evmosno fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v1018.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v10no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v1118.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v11no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v12no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v1218.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v13no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v1318.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v14no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v1418.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v15no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v1518.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v16no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v1618.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v17no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v1718.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v1818.1.0GO-2024-2903
Gogithub.com/evmos/evmos/v1818.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v2no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v3no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v4no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v5no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v6no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v618.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v7no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v718.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v8no fix listedGO-2024-2903
Gogithub.com/evmos/evmos/v818.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v918.1.0GHSA-xgr7-jgq3-mhmc
Gogithub.com/evmos/evmos/v9no fix listedGO-2024-2903

Affected products (as reported)

VendorProductVersions
evmos evmos <= 18.0.0

Weakness: CWE-670 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References