CVE-2020-26265 Consensus flaw during block processing

Medium 5.3 Published Updated

A consensus flaw in Geth causes a chain split, leading to denial of service by refusing the canonical chain; users must upgrade.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-26265?

CVE-2020-26265 is a medium-severity vulnerability in go-ethereum, published on 11 Dec 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Go Ethereum, or "Geth", is the official Golang implementation of the Ethereum protocol. In Geth from version 1.9.4 and before version 1.9.20 a consensus-vulnerability could cause a chain split, where vulnerable versions refuse to accept the canonical chain. The fix was included in the Paragade release version 1.9.20. No individual workaround patches have been made -- all users are recommended to upgrade to a newer version.

Weakness: CWE-682

Which versions are affected by CVE-2020-26265?

3 open source packages ship an affected version, including github.com/ethereum/go-ethereum. It affects 1 product.

PackageAffectedFixed in
github.com/ethereum/go-ethereum GoFrom 1.9.41.9.20
github.com/ethereum/go-ethereum GoFrom 1.9.41.9.20
github.com/ethereum/go-ethereum GoFrom 1.9.41.9.20

Products include Ethereum Go Ethereum.

How do I fix CVE-2020-26265?

Upgrade github.com/ethereum/go-ethereum to 1.9.20 or later.

Is CVE-2020-26265 being exploited?

There is no known exploitation of CVE-2020-26265 in the wild and no public exploit code.

Sources

Also known as GHSA-xw37-57qp-9mm4, GO-2021-0105.

Is CVE-2020-26265 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free