CVE-2024-32873: evmos allows transferring unvested tokens after delegations
3.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.32165%
CWE
Published
6/6/2024
Updated
8/12/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/evmos/evmos/v17 | go | <= 17.0.1 | 18.0.0 |
github.com/evmos/evmos/v16 | go | <= 16.0.4 | 18.0.0 |
github.com/evmos/evmos/v15 | go | <= 15.0.0 | 18.0.0 |
github.com/evmos/evmos/v14 | go | <= 14.1.0 | 18.0.0 |
github.com/evmos/evmos/v13 | go | <= 13.0.2 | 18.0.0 |
github.com/evmos/evmos/v12 | go | <= 12.1.6 | 18.0.0 |
github.com/evmos/evmos/v11 | go | <= 11.0.2 | 18.0.0 |
github.com/evmos/evmos/v10 | go | <= 10.0.1 | 18.0.0 |
github.com/evmos/evmos/v9 | go | <= 9.1.0 | 18.0.0 |
github.com/evmos/evmos/v8 | go | <= 8.2.3 | 18.0.0 |
github.com/evmos/evmos/v7 | go | <= 7.0.0 | 18.0.0 |
github.com/evmos/evmos/v6 | go | <= 6.0.4 | 18.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from three key areas: 1) Flawed ante handler validation (VestingDelegationDecorator) that allowed improper delegation checks, 2) Missing validation in staking operations that enabled precompile bypass, and 3) Incorrect balance tracking in vesting accounts. The commit diff shows removal of the vulnerable Cosmos ante handler components and modification of the TrackDelegation logic. The patches moved validation to the MsgServer layer and fixed the vesting accounting logic, directly addressing these vulnerable functions.