CVE-2024-32873

CVE-2024-32873 is a low-severity security vulnerability in github.com/evmos/evmos/v17 (go), affecting versions <= 17.0.1. It is fixed in 18.0.0.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

evmos allows transferring unvested tokens after delegations

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.

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 [email protected] for security questions

Impact

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

CVE-2024-32873 has a CVSS score of 3.5 (Low). The vector is network-reachable, low privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (18.0.0); upgrading removes the vulnerable code path.

Affected versions

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)

Security releases

github.com/evmos/evmos/v17 → 18.0.0 (go) github.com/evmos/evmos/v16 → 18.0.0 (go) github.com/evmos/evmos/v15 → 18.0.0 (go) github.com/evmos/evmos/v14 → 18.0.0 (go) github.com/evmos/evmos/v13 → 18.0.0 (go) github.com/evmos/evmos/v12 → 18.0.0 (go) github.com/evmos/evmos/v11 → 18.0.0 (go) github.com/evmos/evmos/v10 → 18.0.0 (go) github.com/evmos/evmos/v9 → 18.0.0 (go) github.com/evmos/evmos/v8 → 18.0.0 (go) github.com/evmos/evmos/v7 → 18.0.0 (go) github.com/evmos/evmos/v6 → 18.0.0 (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

  • 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.

Frequently Asked Questions

  1. What is CVE-2024-32873? CVE-2024-32873 is a low-severity security vulnerability in github.com/evmos/evmos/v17 (go), affecting versions <= 17.0.1. It is fixed in 18.0.0.
  2. How severe is CVE-2024-32873? CVE-2024-32873 has a CVSS score of 3.5 (Low). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which packages are affected by CVE-2024-32873?
    • github.com/evmos/evmos/v17 (go) (versions <= 17.0.1)
    • github.com/evmos/evmos/v16 (go) (versions <= 16.0.4)
    • github.com/evmos/evmos/v15 (go) (versions <= 15.0.0)
    • github.com/evmos/evmos/v14 (go) (versions <= 14.1.0)
    • github.com/evmos/evmos/v13 (go) (versions <= 13.0.2)
    • github.com/evmos/evmos/v12 (go) (versions <= 12.1.6)
    • github.com/evmos/evmos/v11 (go) (versions <= 11.0.2)
    • github.com/evmos/evmos/v10 (go) (versions <= 10.0.1)
    • github.com/evmos/evmos/v9 (go) (versions <= 9.1.0)
    • github.com/evmos/evmos/v8 (go) (versions <= 8.2.3)
    • github.com/evmos/evmos/v7 (go) (versions <= 7.0.0)
    • github.com/evmos/evmos/v6 (go) (versions <= 6.0.4)
  4. Is there a fix for CVE-2024-32873? Yes. CVE-2024-32873 is fixed in 18.0.0. Upgrade to this version or later.
  5. Is CVE-2024-32873 exploitable, and should I be worried? Whether CVE-2024-32873 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2024-32873 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2024-32873?
    • Upgrade github.com/evmos/evmos/v17 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v16 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v15 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v14 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v13 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v12 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v11 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v10 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v9 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v8 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v7 to 18.0.0 or later
    • Upgrade github.com/evmos/evmos/v6 to 18.0.0 or later

Other vulnerabilities in github.com/evmos/evmos/v17

Stop the waste.
Protect your environment with Kodem.