CVE-2024-37153Evmos's contract balance not updating correctly after interchain transaction
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Go has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Go library | github.com/evmos/evmos | Fix pending | GO-2024-2903 | |
| Go library | github.com/evmos/evmos/v10 | Fixed | 18.1.0 | GO-2024-2903 |
| Go library | github.com/evmos/evmos/v11 | Fixed | 18.1.0 | GHSA-xgr7-jgq3-mhmc |
| Go library | github.com/evmos/evmos/v12 | Fixed | 18.1.0 | GO-2024-2903 |
| Go library | github.com/evmos/evmos/v13 | Fixed | 18.1.0 | GHSA-xgr7-jgq3-mhmc |
| Go library | github.com/evmos/evmos/v14 | Fixed | 18.1.0 | GHSA-xgr7-jgq3-mhmc |
| Go library | github.com/evmos/evmos/v15 | Fixed | 18.1.0 | GHSA-xgr7-jgq3-mhmc |
| Go library | github.com/evmos/evmos/v16 | Fixed | 18.1.0 | GHSA-xgr7-jgq3-mhmc |
| Go library | github.com/evmos/evmos/v17 | Fixed | 18.1.0 | GHSA-xgr7-jgq3-mhmc |
| Go library | github.com/evmos/evmos/v18 | Fixed | 18.1.0 | GHSA-xgr7-jgq3-mhmc |
| Go library | github.com/evmos/evmos/v2 | Fix pending | GO-2024-2903 | |
| Go library | github.com/evmos/evmos/v3 | Fix pending | GO-2024-2903 | |
| Go library | github.com/evmos/evmos/v4 | Fix pending | GO-2024-2903 | |
| Go library | github.com/evmos/evmos/v5 | Fix pending | GO-2024-2903 | |
| Go library | github.com/evmos/evmos/v6 | Fixed | 18.1.0 | GO-2024-2903 |
| Go library | github.com/evmos/evmos/v7 | Fixed | 18.1.0 | GO-2024-2903 |
| Go library | github.com/evmos/evmos/v8 | Fixed | 18.1.0 | GO-2024-2903 |
| Go library | github.com/evmos/evmos/v9 | Fixed | 18.1.0 | GHSA-xgr7-jgq3-mhmc |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- evmos: affected: <= 18.0.0
References
- https://github.com/evmos/evmos/security/advisories/GHSA-xgr7-jgq3-mhmc
- https://github.com/evmos/evmos/commit/478b7a62e7af57a70cf3a01126c7f5a89bee69d7
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.