CVE-2024-39696Evmos vulnerable to exploit of smart contract account and vesting
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.
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-2974 | |
| Go library | github.com/evmos/evmos/v10 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v11 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v12 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v13 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v14 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v15 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v16 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v17 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v18 | Fixed | 19.0.0 | GHSA-q6hg-6m9x-5g9c |
| Go library | github.com/evmos/evmos/v19 | Fixed | 19.0.0 | GO-2024-2974 |
| Go library | github.com/evmos/evmos/v2 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v3 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v4 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v5 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v6 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v7 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v8 | Fix pending | GO-2024-2974 | |
| Go library | github.com/evmos/evmos/v9 | Fix pending | GO-2024-2974 |
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: < 19.0.0
References
- https://github.com/evmos/evmos/security/advisories/GHSA-q6hg-6m9x-5g9c
- https://github.com/evmos/evmos/commit/0a620e176617a835ac697eea494afea09185dfaf
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.