CVE-2021-39137
JSON

6.5medium

Consensus flaw during block processing in go-ethereum

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.32% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9856-9gg9-qcmqGO-2022-0254

Description

go-ethereum is the official Go implementation of the Ethereum protocol. In affected versions a consensus-vulnerability in go-ethereum (Geth) could cause a chain split, where vulnerable versions refuse to accept the canonical chain. Further details about the vulnerability will be disclosed at a later date. A patch is included in the upcoming `v1.10.8` release. No workaround are available.

Affected

Product or packageVersionsReported by
ethereum go-ethereum>= 1.10.0, < 1.10.8CVE List
github.com/ethereum/go-ethereum (Go)from 1.10.0 before 1.10.8, before 1.10.8GitHub Advisory Database, Go Vulnerability Database
ethereum go_ethereumfrom 1.10.0 before 1.10.8NVD

All scores

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

Classification

What each source says

CVE List

go-ethereum is the official Go implementation of the Ethereum protocol. In affected versions a consensus-vulnerability in go-ethereum (Geth) could cause a chain split, where vulnerable versions refuse to accept the canonical chain. Further details about the vulnerability will be disclosed at a later date. A patch is included in the upcoming `v1.10.8` release. No workaround are available.

GitHub Advisory Database
Impact

A vulnerability in the Geth EVM could cause a node to reject the canonical chain.

Description

A memory-corruption bug within the EVM can cause a consensus error, where vulnerable nodes obtain a different stateRoot when processing a maliciously crafted transaction. This, in turn, would lead to the chain being split in two forks.

All Geth versions supporting the London hard fork are vulnerable (which predates London), so all users should update.

This bug was exploited on Mainnet at block 13107518, leading to a minority chain split.

Patches

A patch is included in the v1.10.8 release. The exact patch to fix the issue is contained within this commit

Workarounds

No workarounds exist, save to update and/or apply the patch commit.

References.

Post-mortem write-up.

Credits

The bug was found by @guidovranken (working for Sentnl during an audit of the Telos EVM) and reported via bounty@ethereum.org.

For more information

If you have any questions or comments about this advisory:

Go Vulnerability Database

A vulnerability in the Geth EVM can cause a node to reject the canonical chain.

A memory-corruption bug within the EVM can cause a consensus error, where vulnerable nodes obtain a different stateRoot when processing a maliciously crafted transaction. This, in turn, would lead to the chain being split in two forks.

NVD (es)

go-ethereum es la implementación oficial Go del protocolo Ethereum. En versiones afectadas, una vulnerabilidad de consenso en go-ethereum (Geth) podría causar una división de cadena, donde las versiones vulnerables se niegan a aceptar la cadena canónica. Más adelante se divulgarán más detalles sobre la vulnerabilidad. Se incluye un parche en la próxima versión "v1.10.8". No se presentan soluciones disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-39137 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-9856-9gg9-qcmq changed 2026-07-08CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0254 changed 2024-05-20CC-BY-4.0
NVDCVE-2021-39137 changed 2026-06-17Public domain