3.5low
Evmos is missing create validator check
- Severity
- 3.5low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.56% (higher than 40% 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. This vulnerability allowed a user to create a validator using vested tokens to deposit the self-bond. This vulnerability is fixed in 18.0.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| evmos evmos | < 18.0.0, before 18.0.0 | CVE List, NVD |
| github.com/evmos/evmos/v17 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v16 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v15 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v14 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v13 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v12 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v11 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v10 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v9 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v8 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v7 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos/v6 (Go) | before 18.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/evmos/evmos (Go) | all versions | Go Vulnerability Database |
| github.com/evmos/evmos/v2 (Go) | all versions | Go Vulnerability Database |
| github.com/evmos/evmos/v3 (Go) | all versions | Go Vulnerability Database |
| github.com/evmos/evmos/v4 (Go) | all versions | Go Vulnerability Database |
| github.com/evmos/evmos/v5 (Go) | all versions | Go Vulnerability Database |
| github.com/evmos/evmos/v18 (Go) | before 18.0.0 | Go Vulnerability Database |
All scores
| GitHub_M | 3.5low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| GitHub | 3.5low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
What each source says
CVE List
Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. This vulnerability allowed a user to create a validator using vested tokens to deposit the self-bond. 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
15Mvesting schedule. The initial spendable balance is0. - Time passes and
5Mare vested. The spendable balance is now5M. - The account delegate
5M. The spendable balance should be0, but returns5M - The account can send
5Mto 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
TrackDelegationfunction. - The checks for the staking module, for the delegation and the create validator, has been moved into the
MsgServerof a wrapper around the Cosmos SDK staking module.
The issues have been patched in versions >=V18.0.0.
References
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. Esta vulnerabilidad permitió a un usuario crear un validador utilizando tokens adquiridos para depositar el autobono. Esta vulnerabilidad se solucionó en 18.0.0.
References
| https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v | advisory, vendor-advisory, web | |
| https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-32873 | advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-37158 | advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-37159 | advisory, web | |
| https://github.com/evmos/evmos | package | |
| https://pkg.go.dev/vuln/GO-2024-2891 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-37159 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pxv8-qhrh-jc7v changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2891 changed 2026-03-03 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2926 changed 2026-03-03 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2927 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-37159 changed 2026-06-17 | Public domain |