Storage Caching Lifecycle Inconsistency Affecting github.com/cosmos/ethermint/x/evm/types Open this link in a new tab package, versions *


0.0
medium
  • Attack Complexity

    High

  • User Interaction

    Required

  • Scope

    Changed

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-id

    SNYK-GOLANG-GITHUBCOMCOSMOSETHERMINTXEVMTYPES-1070793

  • published

    9 Feb 2021

  • disclosed

    9 Feb 2021

  • credit

    OKLink & Chaitin Tech

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").

References