Go Ethereum LES protocol implementation vulnerable to Denial of Service
Published 14 May 2022 · Updated 20 May 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.8.11
- Fixed in
- 1.8.11
go get github.com/ethereum/go-ethereum@v1.8.11Details
The GetBlockHeadersMsg handler in the LES protocol implementation in Go Ethereum (aka geth) before 1.8.11 may lead to an access violation because of an integer signedness error for the array index, which allows attackers to launch a Denial of Service attack by sending a packet with a -1 query.Skip value. The vulnerable remote node would be crashed by such an attack immediately, aka the EPoD (Ethereum Packet of Death) issue.
Specific Go Packages Affected
github.com/ethereum/go-ethereum/les
Is GHSA-p5gc-957x-gfw9 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
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-12018
- Linkgithub.com/ethereum/go-ethereum/pull/16891
- Linkgithub.com/ethereum/go-ethereum/commit/a5237a27eaf81946a3edb4fafe13ed6359d119e4
- Packagegithub.com/ethereum/go-ethereum
- Linkgithub.com/ethereum/go-ethereum/releases/tag/v1.8.11
- Linkpeckshield.com/2018/06/27/EPoD
- Linkpkg.go.dev/vuln/GO-2021-0075
- Linkweb.archive.org/web/20180628022133/https://peckshield.com/2018/06/27/EPoD
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.