CVE-2024-37153 Evmos's contract balance not updating correctly after interchain transaction
Attackers can exploit a logic flaw in Evmos to double token supply via interchain transactions, requiring an upgrade to patched versions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-37153?
CVE-2024-37153 is a high-severity vulnerability in evmos, published on 6 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-670
Which versions are affected by CVE-2024-37153?
40 open source packages ship an affected version, including github.com/evmos/evmos/v10, github.com/evmos/evmos and github.com/evmos/evmos/v11. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/evmos/evmos/v10 Go | All versions | None |
github.com/evmos/evmos/v10 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v10 Go | All versions | 18.1.0 |
github.com/evmos/evmos Go | All versions | None |
github.com/evmos/evmos/v11 Go | All versions | None |
github.com/evmos/evmos/v11 Go | All versions | 18.1.0 |
34 more packages
github.com/evmos/evmos/v11 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v12 Go | All versions | None |
github.com/evmos/evmos/v12 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v12 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v13 Go | All versions | None |
github.com/evmos/evmos/v13 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v13 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v14 Go | All versions | None |
github.com/evmos/evmos/v14 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v14 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v15 Go | All versions | None |
github.com/evmos/evmos/v15 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v15 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v16 Go | All versions | None |
github.com/evmos/evmos/v16 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v16 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v17 Go | All versions | None |
github.com/evmos/evmos/v17 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v17 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v18 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v18 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v18 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v2 Go | All versions | None |
github.com/evmos/evmos/v3 Go | All versions | None |
github.com/evmos/evmos/v4 Go | All versions | None |
github.com/evmos/evmos/v5 Go | All versions | None |
github.com/evmos/evmos/v6 Go | All versions | None |
github.com/evmos/evmos/v6 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v6 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v7 Go | All versions | None |
github.com/evmos/evmos/v7 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v7 Go | All versions | 18.1.0 |
github.com/evmos/evmos/v8 Go | All versions | None |
github.com/evmos/evmos/v8 Go | All versions | 18.1.0 |
Products include Evmos Evmos.
How do I fix CVE-2024-37153?
Upgrade github.com/evmos/evmos/v10 to 18.1.0 or later.
Is CVE-2024-37153 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-37153 exists.
Other vulnerabilities in evmos
- CVE-2024-32644 Evmos' transaction execution not accounting for all state transition after interaction with precompiles
- CVE-2024-39696 Evmos vulnerable to exploit of smart contract account and vesting
- CVE-2022-24738 Account compromise in Evmos
- CVE-2024-37154 Evmos allows unvested token delegations
- CVE-2024-37158 Evmos is missing precompile checks
Sources
Also known as GHSA-xgr7-jgq3-mhmc, GO-2024-2903.