CVE-2018-20421 Denial of service in n/a
Attackers can cause denial of service in Go Ethereum by manipulating dynamic array lengths and writing to large memory indices.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-20421?
CVE-2018-20421 is a high-severity denial of service vulnerability in n/a, published on 24 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Go Ethereum (aka geth) 1.8.19 allows attackers to cause a denial of service (memory consumption) by rewriting the length of a dynamic array in memory, and then writing data to a single memory location with a large index number, as demonstrated by use of "assembly { mstore }" followed by a "c[0xC800000] = 0xFF" assignment.
Weakness: CWE-770
Which versions are affected by CVE-2018-20421?
It affects 1 product.
Products include Ethereum Go Ethereum.
How do I fix CVE-2018-20421?
No fix has been published for CVE-2018-20421 yet. Limit exposure of the affected software until one is available.
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-2018-20421 being exploited?
There is no known exploitation of CVE-2018-20421 in the wild and no public exploit code.
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-5g4w-3m99-4m2p.