evmos allows transferring unvested tokens after delegations
cve-program · CVE-2024-32873
PublishedEvmos 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.
Read the publisher's advisorycve-program · CVE-2024-37158
PublishedEvmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. 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 is fixed in 18.0.0.
Read the publisher's advisorycve-program · CVE-2024-37159
PublishedEvmos 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.
Read the publisher's advisoryeuvd · EUVD-2024-2129
PublishedEvmos 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.
Read the publisher's advisoryeuvd · EUVD-2024-36470
PublishedEvmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. 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 is fixed in 18.0.0.
Read the publisher's advisoryeuvd · EUVD-2024-36471
PublishedEvmos 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.
Read the publisher's advisorynvd · CVE-2024-32873
PublishedEvmos 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.
Read the publisher's advisorynvd · CVE-2024-37158
PublishedEvmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. 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 is fixed in 18.0.0.
Read the publisher's advisorynvd · CVE-2024-37159
PublishedEvmos 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.
Read the publisher's advisoryosv · GHSA-pxv8-qhrh-jc7v
Published## 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](https://docs.evmos.org/protocol/modules/vesting) ## For more information 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 [[email protected]](mailto:[email protected]) for security questions
Read the publisher's advisoryosv · GO-2024-2891
Publishedevmos allows transferring unvested tokens after delegations in github.com/evmos/evmos
Read the publisher's advisoryosv · GO-2024-2926
PublishedEvmos is missing precompile checks in github.com/evmos/evmos
Read the publisher's advisoryosv · GO-2024-2927
PublishedEvmos is missing create validator check in github.com/evmos/evmos
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-32873 · CVE overview and exploitation status
CVE-2024-37158 · CVE overview and exploitation status
CVE-2024-37159 · CVE overview and exploitation status
cve-program · CVE-2024-32873
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
cve-program · CVE-2024-37158
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
cve-program · CVE-2024-37159
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
euvd · EUVD-2024-2129
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
euvd · EUVD-2024-36470
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
euvd · EUVD-2024-36471
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
nvd · CVE-2024-32873
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
nvd · CVE-2024-37158
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
nvd · CVE-2024-37159
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
osv · GHSA-pxv8-qhrh-jc7v
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://nvd.nist.gov/vuln/detail/CVE-2024-32873
- https://nvd.nist.gov/vuln/detail/CVE-2024-37158
- https://nvd.nist.gov/vuln/detail/CVE-2024-37159
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
- https://github.com/evmos/evmos
- https://pkg.go.dev/vuln/GO-2024-2891
osv · GO-2024-2891
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://nvd.nist.gov/vuln/detail/CVE-2024-32873
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
- https://nvd.nist.gov/vuln/detail/CVE-2024-37158
- https://nvd.nist.gov/vuln/detail/CVE-2024-37159
osv · GO-2024-2926
- https://nvd.nist.gov/vuln/detail/CVE-2024-37158
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb
- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
osv · GO-2024-2927
Related changes
Linked by CVE identifierNo related changes are available here.