CVE-2021-41173 DoS via maliciously crafted p2p message
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/ethereum/go-ethereum Go | All versions | 1.10.9 |
github.com/ethereum/go-ethereum Go | All versions | 1.10.9 |
github.com/ethereum/go-ethereum Go | All versions | 1.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.
Other vulnerabilities in go-ethereum
- CVE-2026-26314 Go Ethereum affected by DoS via malicious p2p message
- CVE-2023-42319 go-ethereum vulnerable to denial of service via crafted GraphQL query
- CVE-2023-40591 Denial of service via malicious p2p message in go-ethereum
- CVE-2021-42219 Denial of service in go-ethereum
- CVE-2022-23327 Denial of Service in Go-Ethereum
Sources
Also known as GHSA-59hh-656j-3p7v, GO-2022-0256.