Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:46559
HistoryApr 22, 2024 - 6:14 a.m.

Improper Synchronisation

2024-04-2206:14:35
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
3
evmos
vulnerability
token minting
non-atomic transactions
fund drain
smart contracts
synchronization
statedb.commit()

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

9.2 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.8%

https://github.com/evmos/evmos/ is vulnerable to Improper Synchronisation. The vulnerability is due to a lack of synchronization between two states during transaction execution, allowing for arbitrary token minting. This exploit occurs because the stateDB.Commit() method updates the Cosmos SDK KVStore only if the dirtyStorage is different from the originStorage, leaving a window for manipulation. The vulnerability allows for non-atomic transactions, potentially leading to fund drain through smart contract interactions.

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

9.2 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.8%