CVE-2021-41173 DoS via maliciously crafted p2p message

Medium 5.7 Published Updated

A remote attacker can crash a Go Ethereum node by sending a maliciously crafted peer-to-peer message, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-41173?

CVE-2021-41173 is a medium-severity denial of service vulnerability in go-ethereum, published on 26 Oct 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.9, a vulnerable node is susceptible to crash when processing a maliciously crafted message from a peer. Version v1.10.9 contains patches to the vulnerability. There are no known workarounds aside from upgrading.

Weakness: CWE-20

Which versions are affected by CVE-2021-41173?

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 GoAll versions1.10.9
github.com/ethereum/go-ethereum GoAll versions1.10.9
github.com/ethereum/go-ethereum GoAll versions1.10.9

Products include Ethereum Go Ethereum.

How do I fix CVE-2021-41173?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-41173 being exploited?

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

Sources

Also known as GHSA-59hh-656j-3p7v, GO-2022-0256.

Is CVE-2021-41173 in your software?

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

Check your SBOMs for free