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 package | Versions | Reported by |
|---|---|---|
| ethereum go-ethereum | < 1.9.24 | CVE List |
| github.com/ethereum/go-ethereum (Go) | before 1.9.24 | GitHub Advisory Database, Go Vulnerability Database |
| ethereum go_ethereum | before 1.9.24 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV: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:
- Open an issue in go-ethereum
- Email us at security@ethereum.org
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. 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). Esto sucedió en la cadena ETC el 06-11-2020. Este problema es relevante solo para mineros, los nodos que no son mineros no están afectados. Este problema es corregido desde la versión 1.9.24
References
| https://blog.ethereum.org/2020/11/12/geth_security_release/ | vendor-advisory | |
| https://github.com/ethereum/go-ethereum/security/advisories/GHSA-v592-xf75-856p | advisory, third-party-advisory, web | |
| https://github.com/ethereum/go-ethereum/pull/21793 | fix, patch, third-party-advisory, web | |
| https://github.com/ethereum/go-ethereum/commit/d990df909d7839640143344e79356754384dcdd0 | fix, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-26240 | advisory | |
| https://blog.ethereum.org/2020/11/12/geth_security_release | web | |
| https://github.com/ethereum/go-ethereum | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26240 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v592-xf75-856p changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0775 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2020-26240 changed 2026-06-17 | Public domain |