CVE-2020-26240
JSON

5.3medium

Erroneous Proof of Work calculation in geth

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.86% (higher than 79% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-v592-xf75-856pGO-2022-0775

Description

Go Ethereum, or "Geth", is the official Golang implementation of the Ethereum protocol. An ethash mining DAG generation flaw in Geth before version 1.9.24 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. This issue is relevant only for miners, non-mining nodes are unaffected. This issue is fixed as of 1.9.24

Affected

Product or packageVersionsReported by
ethereum go-ethereum< 1.9.24CVE List
github.com/ethereum/go-ethereum (Go)before 1.9.24GitHub Advisory Database, Go Vulnerability Database
ethereum go_ethereumbefore 1.9.24NVD

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

Go Ethereum, or "Geth", is the official Golang implementation of the Ethereum protocol. An ethash mining DAG generation flaw in Geth before version 1.9.24 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. This issue is relevant only for miners, non-mining nodes are unaffected. This issue is fixed as of 1.9.24

GitHub Advisory Database
Impact

An ethash mining DAG generation flaw in Geth 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. This issue is relevant only for miners, non-mining nodes are unaffected.

Patches

This issue is also fixed as of 1.9.24. Thanks to @slavikus for bringing the issue to our attention and writing the fix.

Workarounds

This PR implements a patch: https://github.com/ethereum/go-ethereum/pull/21793

References

https://blog.ethereum.org/2020/11/12/geth_security_release/

For more information

If you have any questions or comments about this advisory:

Go Vulnerability Database

Erroneous Proof of Work calculation in geth in github.com/ethereum/go-ethereum

NVD (es)

Go Ethereum, o "Geth", es la implementación oficial de Golang del protocolo Ethereum.&#xa0;Un fallo de generación DAG de minería ethash en Geth versiones anteriores a 1.9.24, podría causar a unos mineros calcular erróneamente PoW en una época próxima (estimada a principios de enero de 2021).&#xa0;Esto sucedió en la cadena ETC el 06-11-2020.&#xa0;Este problema es relevante solo para mineros, los nodos que no son mineros no están afectados.&#xa0;Este problema es corregido desde la versión 1.9.24

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26240 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-v592-xf75-856p changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0775 changed 2026-03-03CC-BY-4.0
NVDCVE-2020-26240 changed 2026-06-17Public domain