DoS via malicious p2p message in Go Ethereum
Published 24 May 2022 · Updated 21 Aug 2024
Is your project on an affected github.com/ethereum/go-ethereum?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.10.17
- Fixed in
- 1.10.17
go get github.com/ethereum/go-ethereum@v1.10.17Details
Impact
A vulnerable node, if configured to use high verbosity logging, can be made to crash when handling specially crafted p2p messages sent from an attacker node.
Patches
The following PR addresses the problem: https://github.com/ethereum/go-ethereum/pull/24507
Workarounds
Aside from applying the PR linked above, setting loglevel to default level (INFO) makes the node not vulnerable to this attack.
Credits
This bug was reported by nrv via bounty@ethereum.org, who has gracefully requested that the bounty rewards be donated to Médecins sans frontières.
For more information
If you have any questions or comments about this advisory:
- Open an issue in go-ethereum
Is GHSA-wjxw-gh3m-7pm5 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/ethereum/go-ethereum, and gives you the command that fixes it.
More advisories for github.com/ethereum/go-ethereum
- LowCVE-2026-26314Go Ethereum affected by crash via malicious p2p message in github.com/ethereum/go-ethereum · 24 Feb 2026
- LowCVE-2026-26313Go Ethereum affected by DoS via malicious p2p message in github.com/ethereum/go-ethereum · 24 Feb 2026
- LowCVE-2026-26315Go Ethereum Improperly Validates the ECIES Public Key in RLPx Handshake in github.com/ethereum/go-ethereum · 24 Feb 2026
- MediumCVE-2026-26315Go Ethereum Improperly Validates the ECIES Public Key in RLPx Handshake · 18 Feb 2026
- HighCVE-2026-26314Go Ethereum affected by DoS via malicious p2p message · 18 Feb 2026
- MediumCVE-2026-26313Go Ethereum affected by DoS via malicious p2p message · 18 Feb 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.