Incorrect Calculation Affecting github.com/evmos/evmos/v18/precompiles/staking package, versions <18.0.0
Threat Intelligence
EPSS
0.05% (16th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMEVMOSEVMOSV18PRECOMPILESSTAKING-7222573
- published 9 Jun 2024
- disclosed 6 Jun 2024
- credit Unknown
Introduced: 6 Jun 2024
CVE-2024-32873 Open this link in a new tabHow to fix?
Upgrade github.com/evmos/evmos/v18/precompiles/staking
to version 18.0.0 or higher.
Overview
Affected versions of this package are vulnerable to Incorrect Calculation through the TrackDelegation
function. An attacker can manipulate the spendable balance by delegating vested tokens that should not yet be available. This is only exploitable if the account has a clawback vesting account with a specific vesting schedule.
Workaround
This vulnerability can be mitigated by implementing additional checks in the MsgServer
of a wrapper around the Cosmos SDK staking module.
References
CVSS Scores
version 3.1