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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.1% (43rd 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 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

CVSS Scores

version 3.1
Expand this section

Snyk

5.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

7.5 high