evmos allows transferring unvested tokens after delegations
This advisory has been created to address the following vulnerabilities found in the Evmos codebase and affecting vesting accounts.
The spendable balance is not updated properly when delegating vested tokens. The following example help in describing the issue:
15M vesting schedule. The initial spendable balance is 0.5M are vested. The spendable balance is now 5M.5M. The spendable balance should be 0, but returns 5M5M to another account.The issue allowed a clawback vesting account to anticipate the release of unvested tokens.
Preliminary checks on actions computed by the clawback vesting accounts are performed in the ante handler. Evmos core, implements two different ante handlers: one for Cosmos transactions and one for Ethereum transactions. Checks performed on the two implementation are different.
The vulnerability discovered allowed a clawback account to bypass Cosmos ante handler checks by sending an Ethereum transaction targeting a precompile used to interact with a Cosmos SDK module.
This vulnerability allowed a user to create a validator using vested tokens to deposit the self-bond.
TrackDelegation function.MsgServer of a wrapper around the Cosmos SDK staking module.The issues have been patched in versions >=V18.0.0.
1. [Evmos vesting module](https://docs.evmos.org/protocol/modules/vesting)
If you have any questions or comments about this advisory:
Reach out to the Core Team in [Discord](https://discord.gg/evmos)
Open a discussion in [evmos/evmos](https://github.com/evmos/evmos/discussions)
Email us at [security@evmos.org](mailto:[email protected]) for security questions
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability low.
The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
CVE-2024-32873 is classified as CWE-682: Incorrect Calculation. The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.
CVE-2024-32873 is recorded against 19 packages.
Published on 6 June 2024 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.
github.com
github.com
github.com
github.com
evmos has other advisories on record. If you are patching this one, these are worth checking on the same host:
These advisories are the same class of weakness (CWE-682: Incorrect Calculation) in other software:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| evmos | — | 18.0.0 |
| github.com/evmos/evmos | — | — |
| github.com/evmos/evmos/v10 | — | — |
| github.com/evmos/evmos/v11 | — | — |
| github.com/evmos/evmos/v12 | — | — |
| github.com/evmos/evmos/v13 | — | — |
| github.com/evmos/evmos/v14 | — | — |
| github.com/evmos/evmos/v15 | — | — |
| github.com/evmos/evmos/v16 | — | — |
| github.com/evmos/evmos/v17 | — | — |
| github.com/evmos/evmos/v18 | — | — |
| github.com/evmos/evmos/v2 | — | — |
| github.com/evmos/evmos/v3 | — | — |
| github.com/evmos/evmos/v4 | — | — |
| github.com/evmos/evmos/v5 | — | — |
| github.com/evmos/evmos/v6 | — | — |
| github.com/evmos/evmos/v7 | — | — |
| github.com/evmos/evmos/v8 | — | — |
| github.com/evmos/evmos/v9 | — | — |
References
Similar Threats
Free Vulnerability Check
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2024-32873 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.