CVE-2024-32972 go-ethereum denial of service via malicious p2p message

High 7.5 Published Updated

An attacker can cause a go-ethereum node to consume excessive memory via crafted p2p messages, leading to 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-2024-32972?

CVE-2024-32972 is a high-severity denial of service vulnerability in go-ethereum, published on 6 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

go-ethereum (geth) is a golang execution layer implementation of the Ethereum protocol. Prior to 1.13.15, a vulnerable node can be made to consume very large amounts of memory when handling specially crafted p2p messages sent from an attacker node. The fix has been included in geth version `1.13.15` and onwards.

Weakness: CWE-400

Which versions are affected by CVE-2024-32972?

3 open source packages ship an affected version, including github.com/ethereum/go-ethereum.

PackageAffectedFixed in
github.com/ethereum/go-ethereum GoAll versions1.13.15
github.com/ethereum/go-ethereum GoAll versions1.13.15
github.com/ethereum/go-ethereum GoAll versions1.13.15

How do I fix CVE-2024-32972?

Upgrade github.com/ethereum/go-ethereum to 1.13.15 or later.

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-2024-32972 being exploited?

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

Sources

Also known as GHSA-4xc9-8hmq-j652, GO-2024-2819.

Is CVE-2024-32972 in your software?

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

Check your SBOMs for free