Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-37153 — evmos

🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-670 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Contract balance not updating correctly after interchain transaction

Summary

_Short summary of the problem. Make the impact and severity as clear as possible. For example: An unsafe deserialization vulnerability allows any unauthenticated user to execute arbitrary code on the server._

Details

We discovered a bug walking through how to liquid stake using Safe which itself is a contract. The bug only appears when there is a local state change together with an ICS20 transfer in the same function and uses the contract's balance, that is using the contract address as the sender parameter in an ICS20 transfer using the ICS20 precompile

Proof of Concept

```solidity

// This function does not reduce the contract balance correctly but liquid stakes correctly

function transfer(

string memory sourcePort,

string memory sourceChannel,

string memory denom,

uint256 amount,

string memory receiver,

string memory evmosReceiver

) external returns (uint64 nextSequence) {

counter += 1; # Only happens when there is a local state update together with an ICS20 Transfer

Height memory timeoutHeight = Height(100, 100);

string memory memo = buildLiquidStakeMemo(receiver, evmosReceiver);

return ICS20_CONTRACT.transfer(

sourcePort,

sourceChannel,

denom,

amount,

address(this), # this is the sender address which is the contract

receiver,

timeoutHeight,

0,

memo

);

}

```

Impact

This is in essence the "infinite money glitch" allowing contracts to double the supply of Evmos after each transaction.

Severity

Based on [ImmuneFi Severity Classification System](https://immunefisupport.zendesk.com/hc/en-us/articles/13332717597585-Severity-Classification-System) the severity was evaluated to Critical since the attack could have lead to create new supply of EVMOS and therefore lead to Direct loss of funds's value.

Patches

The issue has been patched in versions >=V18.1.0.

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 [security@evmos.org](mailto:[email protected]) for security questions

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: None.

Weakness class

CVE-2024-37153 is classified as CWE-670: Always-Incorrect Control Flow Implementation. The control flow does not do what the logic intends, so a check never has the effect it appears to have.

Affected software

CVE-2024-37153 is recorded against 19 packages.

  • evmos (fixed in 18.1.0)
  • github.com/evmos/evmos
  • github.com/evmos/evmos/v10
  • github.com/evmos/evmos/v11
  • github.com/evmos/evmos/v12
  • github.com/evmos/evmos/v13
  • github.com/evmos/evmos/v14
  • github.com/evmos/evmos/v15
  • github.com/evmos/evmos/v16
  • github.com/evmos/evmos/v17
  • github.com/evmos/evmos/v18
  • github.com/evmos/evmos/v2
  • github.com/evmos/evmos/v3
  • github.com/evmos/evmos/v4
  • github.com/evmos/evmos/v5
  • github.com/evmos/evmos/v6
  • github.com/evmos/evmos/v7
  • github.com/evmos/evmos/v8
  • github.com/evmos/evmos/v9

Timeline and source

Published on 6 June 2024 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com
github.com
github.com
github.com

Other advisories for this package

evmos has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-670: Always-Incorrect Control Flow Implementation) in other software:

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CWE CWE-670
Public Exploit ⚠️ Yes
Source NVD
Published 2024-06-06
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
evmos — 18.1.0
github.com/evmos/evmos — —
github.com/evmos/evmos/v10 — —
github.com/evmos/evmos/v11 — —
github.com/evmos/evmos/v12 — —
github.com/evmos/evmos/v13 — —
github.com/evmos/evmos/v14 — —
github.com/evmos/evmos/v15 — —
github.com/evmos/evmos/v16 — —
github.com/evmos/evmos/v17 — —
github.com/evmos/evmos/v18 — —
github.com/evmos/evmos/v2 — —
github.com/evmos/evmos/v3 — —
github.com/evmos/evmos/v4 — —
github.com/evmos/evmos/v5 — —
github.com/evmos/evmos/v6 — —
github.com/evmos/evmos/v7 — —
github.com/evmos/evmos/v8 — —
github.com/evmos/evmos/v9 — —

Exploit Protection

Are you running evmos?

CVE-2024-37153 carries CVSS 8.0 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2024-37153 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓