CVE-2024-32644CWE-662

Evmos' transaction execution not accounting for all state transition after interaction with precompiles

Critical · published April 19, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
60.7
In the wild
Unconfirmed
What it is

🔥 A sneaky timing issue in Evmos could let attackers mint arbitrary tokens without breaking a sweat! Think of it like a food truck that forgets to update its inventory during busy hours. If it mistakenly serves up double orders without checking the stock, it can lose a lot of cash before realizing the error! This vulnerability is absolutely devastating—an attacker could exploit this flaw to drain funds through clever smart contract interactions. With creative execution, they can manipulate the transaction state and create non-atomic transactions, leading to financial chaos! Imagine all those precious tokens just vanishing into thin air!

Put simply

Think of it like a food truck that forgets to update its inventory during busy hours. If it mistakenly serves up double orders without checking the stock, it can lose a lot of cash before realizing the error! Before version 17.0.0, Evmos could allow arbitrary token minting due to a synchronization issue between the Cosmos SDK state and the EVM. The `stateDB.Commit()` method's reliance on the `dirtyStorage` logic can lead to non-atomic transaction behaviors, making it a critical risk.

What to do

This vulnerability is absolutely devastating—an attacker could exploit this flaw to drain funds through clever smart contract interactions. With creative execution, they can manipulate the transaction state and create non-atomic transactions, leading to financial chaos! Imagine all those precious tokens just vanishing into thin air! Update to version 17.0.0 or higher immediately to patch this vulnerability. Review your smart contract interactions to ensure they don’t rely on outdated state assumptions. Conduct an audit of your deployed contracts to safeguard against potential exploits! You’ve got this! Take action now, and you’ll have your blockchain secured in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00943 · 60.7th percentile
Weakness
CWE-662 · Improper Synchronization
Published
2024-04-19T14:53Z
EPSS history
Timeline
  • 19 APR 14:53Z
    Evmos' transaction execution not accounting for all state transition after interaction with precompiles
    cvelistv5