CVE-2018-20421 Denial of service in n/a

High 7.5 Published Updated

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.

Sources

Also known as GHSA-5g4w-3m99-4m2p.

Is CVE-2018-20421 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free