CVE-2024-37153
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.
How to fix
- evmos evmos18.1.0 or later
- github.com/evmos/evmos/v1818.1.0 or later
- github.com/evmos/evmos/v1718.1.0 or later
- github.com/evmos/evmos/v1618.1.0 or later
- github.com/evmos/evmos/v1518.1.0 or later
- github.com/evmos/evmos/v1418.1.0 or later
- github.com/evmos/evmos/v1318.1.0 or later
- github.com/evmos/evmos/v1218.1.0 or later
- github.com/evmos/evmos/v1118.1.0 or later
- github.com/evmos/evmos/v1018.1.0 or later
- github.com/evmos/evmos/v918.1.0 or later
- github.com/evmos/evmos/v818.1.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| evmos evmos | v < 18.1.0 | 18.1.0 |
| github.com/evmos/evmos/v18Go | v < 18.1.0 | 18.1.0 |
| github.com/evmos/evmos/v17Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v16Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v15Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v14Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v13Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v12Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v11Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v10Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v9Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v8Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v7Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmos/v6Go | v < 18.1.0, No range specified | 18.1.0 |
| github.com/evmos/evmosGo | No range specified | — |
| github.com/evmos/evmos/v2Go | No range specified | — |
| github.com/evmos/evmos/v3Go | No range specified | — |
| github.com/evmos/evmos/v4Go | No range specified | — |
| github.com/evmos/evmos/v5Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.