CVE-2021-42219 Denial of service in go-ethereum

High 7.5 Published Updated

Attackers can cause denial of service in Go-Ethereum nodes by sending excessive messages due to missing memory handling in the ethash algorithm.

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-2021-42219?

CVE-2021-42219 is a high-severity denial of service vulnerability in n/a, published on 16 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Go-Ethereum v1.10.9 was discovered to contain an issue which allows attackers to cause a denial of service (DoS) via sending an excessive amount of messages to a node. This is caused by missing memory in the component /ethash/algorithm.go.

Which versions are affected by CVE-2021-42219?

2 open source packages ship an affected version, including github.com/ethereum/go-ethereum. It affects 1 product.

PackageAffectedFixed in
github.com/ethereum/go-ethereum GoAll versions to 1.10.9None
github.com/ethereum/go-ethereum GoAll versions to 1.10.9None

Products include Ethereum Go Ethereum.

How do I fix CVE-2021-42219?

No fix has been published for CVE-2021-42219 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-2021-42219 being exploited?

There is no known exploitation of CVE-2021-42219 in the wild and no public exploit code.

Sources

Also known as GHSA-vrcc-g6vj-mh5w.

Is CVE-2021-42219 in your software?

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

Check your SBOMs for free