Storage Caching Lifecycle Inconsistency Affecting github.com/cosmos/ethermint/x/evm/types package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCOSMOSETHERMINTXEVMTYPES-1070793
  • published9 Feb 2021
  • disclosed9 Feb 2021
  • creditOKLink & Chaitin Tech

Introduced: 9 Feb 2021

CVE-2021-25837  (opens in a new tab)
CWE-1202  (opens in a new tab)

How to fix?

There is no fixed version for github.com/cosmos/ethermint/x/evm/types.

Overview

github.com/cosmos/ethermint/x/evm/types is an a scalable, high-throughput Proof-of-Stake blockchain that is fully compatible and interoperable with Ethereum.

Affected versions of this package are vulnerable to Storage Caching Lifecycle Inconsistency. Due to the inconsistency between the Storage caching cycle and the TX processing cycle, Storage changes caused by a failed transaction are improperly reserved in memory. Although the bad storage cache data will be discarded at EndBlock, it is still valid in the current block, which enables many possible attacks (such as an "arbitrary mint token").

CVSS Base Scores

version 3.1