Incorrect Calculation Affecting github.com/ethereum/go-ethereum/consensus package, versions <1.9.24


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.14% (51st 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-GITHUBCOMETHEREUMGOETHEREUMCONSENSUS-1045351
  • published25 Nov 2020
  • disclosed25 Nov 2020
  • creditUnknown

Introduced: 25 Nov 2020

CVE-2020-26240  (opens in a new tab)
CWE-682  (opens in a new tab)

How to fix?

Upgrade github.com/ethereum/go-ethereum/consensus to version 1.9.24 or higher.

Overview

github.com/ethereum/go-ethereum/consensus is a package that implements different Ethereum consensus engines.

Affected versions of this package are vulnerable to Incorrect Calculation. It could cause miners to erroneously calculate PoW in an upcoming epoch (estimated early January, 2021). This happened on the ETC chain on 2020-11-06.

Note: This issue is relevant only for miners, non-mining nodes are unaffected.

CVSS Scores

version 3.1