CVE-2024-32873
JSON

3.5low

evmos allows transferring unvested tokens after delegations

Severity
3.5low CVSS:3.1 by GitHub_M
Exploit likelihood
0.55% (higher than 39% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pxv8-qhrh-jc7vGO-2024-2891GO-2024-2926GO-2024-2927

Description

Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. The spendable balance is not updated properly when delegating vested tokens. The issue allows a clawback vesting account to anticipate the release of unvested tokens. This vulnerability is fixed in 18.0.0.

Affected

Product or packageVersionsReported by
evmos evmos< 18.0.0, before 18.0.0CVE List, NVD
github.com/evmos/evmos/v17 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v16 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v15 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v14 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v13 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v12 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v11 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v10 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v9 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v8 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/evmos/evmos/v7 (Go)before 18.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M3.5low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
GitHub3.5low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-682

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. The spendable balance is not updated properly when delegating vested tokens. The issue allows a clawback vesting account to anticipate the release of unvested tokens. This vulnerability is fixed in 18.0.0.

GitHub Advisory Database

Impact

This advisory has been created to address the following vulnerabilities found in the Evmos codebase and affecting vesting accounts.

Wrong spendable balance computation

The spendable balance is not updated properly when delegating vested tokens. The following example help in describing the issue:

  • Given a clawback vesting account with a starting 15M vesting schedule. The initial spendable balance is 0.
  • Time passes and 5M are vested. The spendable balance is now 5M.
  • The account delegate 5M. The spendable balance should be 0, but returns 5M
  • The account can send 5M to another account.

The issue allowed a clawback vesting account to anticipate the release of unvested tokens.

Missing precompile checks

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.

Missing create validator check

This vulnerability allowed a user to create a validator using vested tokens to deposit the self-bond.

Patches

  • The spendable balance function has been fixed correcting the TrackDelegation function.
  • The checks for the staking module, for the delegation and the create validator, has been moved into the MsgServer of a wrapper around the Cosmos SDK staking module.

The issues have been patched in versions >=V18.0.0.

References

  1. Evmos vesting module

For more information

If you have any questions or comments about this advisory:

Reach out to the Core Team in Discord Open a discussion in evmos/evmos Email us at security@evmos.org for security questions

Go Vulnerability Database

evmos allows transferring unvested tokens after delegations in github.com/evmos/evmos

Go Vulnerability Database

Evmos is missing precompile checks in github.com/evmos/evmos

Go Vulnerability Database

Evmos is missing create validator check in github.com/evmos/evmos

NVD (es)

Evmos es el centro de máquinas virtuales Ethereum (EVM) en Cosmos Network. El saldo gastable no se actualiza correctamente al delegar tokens adquiridos. El problema permite que una cuenta de recuperación de derechos anticipe la liberación de tokens no adquiridos. Esta vulnerabilidad se solucionó en 18.0.0.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-32873 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-pxv8-qhrh-jc7v changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2891 changed 2026-03-03CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2926 changed 2026-03-03CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2927 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-32873 changed 2026-06-17Public domain