CVE-2018-12018 Go Ethereum LES protocol implementation vulnerable to Denial of Service
Attackers can crash Go Ethereum nodes by sending a malicious packet with a negative query value, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-12018?
CVE-2018-12018 is a high-severity vulnerability in n/a, published on 5 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-129
Which versions are affected by CVE-2018-12018?
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.8.11 |
github.com/ethereum/go-ethereum Go | All versions | 1.8.11 |
github.com/ethereum/go-ethereum Go | All versions | 1.8.11 |
Products include Ethereum Go Ethereum.
How do I fix CVE-2018-12018?
Upgrade github.com/ethereum/go-ethereum to 1.8.11 or later.
Is CVE-2018-12018 being exploited?
There is no known exploitation of CVE-2018-12018 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
- 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-p5gc-957x-gfw9, GO-2021-0075.