CVE-2024-37154: Evmos allows unvested token delegations
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.34469%
CWE
Published
6/6/2024
Updated
10/15/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/evmos/evmos/v18 | go | <= 18.1.0 | |
github.com/evmos/evmos/v17 | go | <= 17.0.1 | |
github.com/evmos/evmos/v16 | go | <= 16.0.4 | |
github.com/evmos/evmos/v15 | go | <= 15.0.0 | |
github.com/evmos/evmos/v14 | go | <= 14.1.0 | |
github.com/evmos/evmos/v13 | go | <= 13.0.2 | |
github.com/evmos/evmos/v12 | go | <= 12.1.6 | |
github.com/evmos/evmos/v11 | go | <= 11.0.2 | |
github.com/evmos/evmos/v10 | go | <= 10.0.1 | |
github.com/evmos/evmos/v9 | go | <= 9.1.0 | |
github.com/evmos/evmos/v8 | go | <= 8.2.3 | |
github.com/evmos/evmos/v7 | go | <= 7.0.0 | |
github.com/evmos/evmos/v6 | go | <= 6.0.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper validation of vested tokens during delegation. The ClawbackVestingAccount
's delegation tracking (TrackDelegation
) is a prime suspect as vesting accounts must enforce vesting schedule constraints. The staking module's Delegate
function is also implicated as it interacts with account balances. The split fix between Evmos and their Cosmos SDK fork suggests both account-level tracking and staking logic needed correction. The reproduction steps demonstrate delegation exceeding vested amounts, indicating a failure in these core delegation validation mechanisms.