CVE-2024-37153 Evmos's contract balance not updating correctly after interchain transaction
HighCVSS 7.5
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| evmos github.com/evmos/evmos(Go) | < 18.1.0; <= 6.0.4; <= 7.0.0; <= 8.2.3 +11 more | 18.1.0 | Partially fixed |
| evmos github.com/evmos/evmos | < 18.1.0; <= 18.0.0; = <= 18.0.0 | 18.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| evmos github.com/evmos/evmos(Go) | < 18.1.0 | 18.1.0 |
| evmos github.com/evmos/evmos(Go) | All versions | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 18.0.0 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 17.0.1 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 16.0.4 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 15.0.0 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 14.1.0 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 13.0.2 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 12.1.6 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 11.0.2 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 10.0.1 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 9.1.0 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 8.2.3 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 7.0.0 | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 6.0.4 | No fix listed |
| evmos github.com/evmos/evmos | = <= 18.0.0 | No fix listed |
| evmos github.com/evmos/evmos | <= 18.0.0 | No fix listed |
| evmos github.com/evmos/evmos | < 18.1.0 | 18.1.0 |
References
- https://github.com/evmos/evmos/security/advisories/GHSA-xgr7-jgq3-mhmc exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/evmos/evmos/commit/478b7a62e7af57a70cf3a01126c7f5a89bee69d7 patch
- github.com product
- pkg.go.dev
- github.com