CVE-2024-39696 Evmos vulnerable to exploit of smart contract account and vesting
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Evmos is a decentralized Ethereum Virtual Machine chain on the Cosmos Network. Prior to version 19.0.0, a user can create a vesting account with a 3rd party account (EOA or contract) as funder. Then, this user can create an authorization for the contract.CallerAddress, this is the authorization checked in the code. But the funds are taken from the funder address provided in the message. Consequently, the user can fund a vesting account with a 3rd party account without its permission. The funder address can be any address, so this vulnerability can be used to drain all the accounts in the chain. The issue has been patched in version 19.0.0.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| evmos github.com/evmos/evmos(Go) | < 19.0.0; <= 18.0.1; All versions | 19.0.0 | Partially fixed |
| evmos github.com/evmos/evmos | < 19.0.0; = < 19.0.0 | 19.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| evmos github.com/evmos/evmos(Go) | < 19.0.0 | 19.0.0 |
| evmos github.com/evmos/evmos(Go) | All versions | No fix listed |
| evmos github.com/evmos/evmos(Go) | <= 18.0.1 | No fix listed |
| evmos github.com/evmos/evmos | = < 19.0.0 | No fix listed |
| evmos github.com/evmos/evmos | < 19.0.0 | 19.0.0 |
References
- https://github.com/evmos/evmos/security/advisories/GHSA-q6hg-6m9x-5g9c vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/evmos/evmos/commit/0a620e176617a835ac697eea494afea09185dfaf patch
- github.com product
- github.com