Описание
Evmos allows unvested token delegations
Impact
What kind of vulnerability is it? Who is impacted?
At the moment, users are able to delegate tokens that have not yet been vested. This affects employees and grantees who have funds managed via ClawbackVestingAccount.
Patches
Has the problem been patched? What versions should users upgrade to?
The PR linked to this advisory includes part of the fix. The remainder is in a second advisory on the Cosmos SDK fork.
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
There is no effective workaround to fix or remediate this issue without a new release. The best solution is to contain the information about this vulnerability to minimize the number of users who know about it and can thus exploit it.
References
Are there any links users can visit to find out more?
See the integration tests for more details on the exploit, or use the following to reproduce it on the CLI:
- Download
vesting_setup.jsonwith the following contents:
- Run the following CLI commands to reproduce the issue locally:
Пакеты
github.com/evmos/evmos/v18
<= 18.1.0
Отсутствует
github.com/evmos/evmos/v17
<= 17.0.1
Отсутствует
github.com/evmos/evmos/v16
<= 16.0.4
Отсутствует
github.com/evmos/evmos/v15
<= 15.0.0
Отсутствует
github.com/evmos/evmos/v14
<= 14.1.0
Отсутствует
github.com/evmos/evmos/v13
<= 13.0.2
Отсутствует
github.com/evmos/evmos/v12
<= 12.1.6
Отсутствует
github.com/evmos/evmos/v11
<= 11.0.2
Отсутствует
github.com/evmos/evmos/v10
<= 10.0.1
Отсутствует
github.com/evmos/evmos/v9
<= 9.1.0
Отсутствует
github.com/evmos/evmos/v8
<= 8.2.3
Отсутствует
github.com/evmos/evmos/v7
<= 7.0.0
Отсутствует
github.com/evmos/evmos/v6
<= 6.0.4
Отсутствует
Связанные уязвимости
Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. Users are able to delegate tokens that have not yet been vested. This affects employees and grantees who have funds managed via `ClawbackVestingAccount`. This affects 18.1.0 and earlier.