{"id":"CVE-2024-37159","aliases":["CVE-2024-37159","GHSA-pxv8-qhrh-jc7v","GO-2024-2891","GO-2024-2926","GO-2024-2927"],"related":["CVE-2024-32873","CVE-2024-37158"],"kind":"vulnerability","state":"published","title":"Evmos is missing create validator check","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nThis advisory has been created to address the following vulnerabilities found in the Evmos codebase and affecting vesting accounts.\n\n### Wrong spendable balance computation\n\nThe spendable balance is not updated properly when delegating vested tokens. The following example help in describing the issue:\n- Given a clawback vesting account with a starting `15M` vesting schedule. The initial spendable balance is `0`.\n- Time passes and `5M` are vested. The spendable balance is now `5M`.\n- The account delegate `5M`. The spendable balance should be `0`, but returns `5M`\n- The account can send `5M` to another account.\n\nThe issue allowed a clawback vesting account to anticipate the release of unvested tokens.\n\n### Missing precompile checks\n\nPreliminary 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.\n\nThe 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.\n\n### Missing create validator check\n\nThis vulnerability allowed a user to create a validator using vested tokens to deposit the self-bond.\n\n## Patches\n\n- The spendable balance function has been fixed correcting the `TrackDelegation` function.\n- 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. \n\nThe issues have been patched in versions >=V18.0.0.\n\n## References\n1. [Evmos vesting module](https://docs.evmos.org/protocol/modules/vesting)\n\n## For more information\nIf you have any questions or comments about this advisory:\n\nReach out to the Core Team in [Discord](https://discord.gg/evmos)\nOpen a discussion in [evmos/evmos](https://github.com/evmos/evmos/discussions)\nEmail us at [security@evmos.org](mailto:security@evmos.org) for security questions","format":"markdown","source":"ghsa"},{"lang":"en","text":"evmos allows transferring unvested tokens after delegations in github.com/evmos/evmos","format":"markdown","source":"go"},{"lang":"en","text":"Evmos is missing precompile checks in github.com/evmos/evmos","format":"markdown","source":"go"},{"lang":"en","text":"Evmos is missing create validator check in github.com/evmos/evmos","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-06-06T18:21:05.000Z","modified":"2026-09-10T03:50:15.693Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","score":3.5,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","score":3.5,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","score":3.5,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-285","CWE-682"],"affected":[{"ranges":[{"version":"< 18.0.0","status":"affected"}],"vendor":"evmos","product":"evmos","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v17","purl":"pkg:golang/github.com/evmos/evmos/v17","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v16","purl":"pkg:golang/github.com/evmos/evmos/v16","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v15","purl":"pkg:golang/github.com/evmos/evmos/v15","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v14","purl":"pkg:golang/github.com/evmos/evmos/v14","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v13","purl":"pkg:golang/github.com/evmos/evmos/v13","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v12","purl":"pkg:golang/github.com/evmos/evmos/v12","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v11","purl":"pkg:golang/github.com/evmos/evmos/v11","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v10","purl":"pkg:golang/github.com/evmos/evmos/v10","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v9","purl":"pkg:golang/github.com/evmos/evmos/v9","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v8","purl":"pkg:golang/github.com/evmos/evmos/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v7","purl":"pkg:golang/github.com/evmos/evmos/v7","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v6","purl":"pkg:golang/github.com/evmos/evmos/v6","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos","purl":"pkg:golang/github.com/evmos/evmos","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v2","purl":"pkg:golang/github.com/evmos/evmos/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v3","purl":"pkg:golang/github.com/evmos/evmos/v3","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v4","purl":"pkg:golang/github.com/evmos/evmos/v4","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v5","purl":"pkg:golang/github.com/evmos/evmos/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v6","purl":"pkg:golang/github.com/evmos/evmos/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v7","purl":"pkg:golang/github.com/evmos/evmos/v7","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v8","purl":"pkg:golang/github.com/evmos/evmos/v8","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v9","purl":"pkg:golang/github.com/evmos/evmos/v9","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v10","purl":"pkg:golang/github.com/evmos/evmos/v10","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v11","purl":"pkg:golang/github.com/evmos/evmos/v11","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v12","purl":"pkg:golang/github.com/evmos/evmos/v12","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v13","purl":"pkg:golang/github.com/evmos/evmos/v13","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v14","purl":"pkg:golang/github.com/evmos/evmos/v14","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v15","purl":"pkg:golang/github.com/evmos/evmos/v15","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v16","purl":"pkg:golang/github.com/evmos/evmos/v16","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v17","purl":"pkg:golang/github.com/evmos/evmos/v17","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v18","purl":"pkg:golang/github.com/evmos/evmos/v18","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos","purl":"pkg:golang/github.com/evmos/evmos","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v2","purl":"pkg:golang/github.com/evmos/evmos/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v3","purl":"pkg:golang/github.com/evmos/evmos/v3","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v4","purl":"pkg:golang/github.com/evmos/evmos/v4","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v5","purl":"pkg:golang/github.com/evmos/evmos/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v6","purl":"pkg:golang/github.com/evmos/evmos/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v7","purl":"pkg:golang/github.com/evmos/evmos/v7","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v8","purl":"pkg:golang/github.com/evmos/evmos/v8","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v9","purl":"pkg:golang/github.com/evmos/evmos/v9","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v10","purl":"pkg:golang/github.com/evmos/evmos/v10","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v11","purl":"pkg:golang/github.com/evmos/evmos/v11","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v12","purl":"pkg:golang/github.com/evmos/evmos/v12","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v13","purl":"pkg:golang/github.com/evmos/evmos/v13","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v14","purl":"pkg:golang/github.com/evmos/evmos/v14","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v15","purl":"pkg:golang/github.com/evmos/evmos/v15","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v16","purl":"pkg:golang/github.com/evmos/evmos/v16","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v17","purl":"pkg:golang/github.com/evmos/evmos/v17","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v18","purl":"pkg:golang/github.com/evmos/evmos/v18","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos","purl":"pkg:golang/github.com/evmos/evmos","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v2","purl":"pkg:golang/github.com/evmos/evmos/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v3","purl":"pkg:golang/github.com/evmos/evmos/v3","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v4","purl":"pkg:golang/github.com/evmos/evmos/v4","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v5","purl":"pkg:golang/github.com/evmos/evmos/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v6","purl":"pkg:golang/github.com/evmos/evmos/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v7","purl":"pkg:golang/github.com/evmos/evmos/v7","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v8","purl":"pkg:golang/github.com/evmos/evmos/v8","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v9","purl":"pkg:golang/github.com/evmos/evmos/v9","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v10","purl":"pkg:golang/github.com/evmos/evmos/v10","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v11","purl":"pkg:golang/github.com/evmos/evmos/v11","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v12","purl":"pkg:golang/github.com/evmos/evmos/v12","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v13","purl":"pkg:golang/github.com/evmos/evmos/v13","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v14","purl":"pkg:golang/github.com/evmos/evmos/v14","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v15","purl":"pkg:golang/github.com/evmos/evmos/v15","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v16","purl":"pkg:golang/github.com/evmos/evmos/v16","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v17","purl":"pkg:golang/github.com/evmos/evmos/v17","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.0.0"}],"ecosystem":"Go","package":"github.com/evmos/evmos/v18","purl":"pkg:golang/github.com/evmos/evmos/v18","source":"go"},{"ranges":[{"status":"affected","fixed":"18.0.0"}],"vendor":"evmos","product":"evmos","cpe":"cpe:2.3:a:evmos:evmos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32873","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37158","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37159","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/evmos/evmos","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2891","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-15T20:05:01.804Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-37159","url":"https://www.cve.org/CVERecord?id=CVE-2024-37159","licence":"CVE Terms of Use","modified":"2024-08-02T03:50:55.078Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pxv8-qhrh-jc7v","url":"https://github.com/advisories/GHSA-pxv8-qhrh-jc7v","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.693Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2891","url":"https://pkg.go.dev/vuln/GO-2024-2891","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:27.919Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2926","url":"https://pkg.go.dev/vuln/GO-2024-2926","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:30.557Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2927","url":"https://pkg.go.dev/vuln/GO-2024-2927","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:28.413Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-37159","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37159","licence":"Public domain","modified":"2026-06-17T07:37:52.063Z"}],"updatedAt":"2026-11-25T22:58:41.946Z","epss":{"score":0.00556,"percentile":0.40115,"date":"2026-11-30T12:00:22.000Z"}}