Always-Incorrect Control Flow Implementation Affecting github.com/tharsis/ethermint package, versions >=0.8.0 <0.10.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (47th 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-GITHUBCOMTHARSISETHERMINT-2331756
  • published7 Jan 2022
  • disclosed6 Jan 2022
  • credit@zb3

Introduced: 6 Jan 2022

CVE-2021-43839  (opens in a new tab)
CWE-670  (opens in a new tab)

How to fix?

Upgrade github.com/tharsis/ethermint to version 0.10.0 or higher.

Overview

github.com/tharsis/ethermint is a scalable and interoperable Ethereum library, built on Proof-of-Stake with fast-finality using the Cosmos SDK.

Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation as it is possible to take transaction fees from Cosmos SDK's FeeCollector for the current block by sending a custom crafted MsgEthereumTx.

User funds and balances are safe.

CVSS Scores

version 3.1