CVE-2023-42319 go-ethereum vulnerable to denial of service via crafted GraphQL query

High 7.5 Published Updated

Remote attackers can cause denial of service via crafted GraphQL queries when the GraphQL endpoint is enabled.

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-2023-42319?

CVE-2023-42319 is a high-severity denial of service vulnerability in n/a, published on 18 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Geth (aka go-ethereum) through 1.13.4, when --http --graphql is used, allows remote attackers to cause a denial of service (memory consumption and daemon hang) via a crafted GraphQL query. NOTE: the vendor's position is that the "graphql endpoint [is not] designed to withstand attacks by hostile clients, nor handle huge amounts of clients/traffic.

Which versions are affected by CVE-2023-42319?

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.13.4None
github.com/ethereum/go-ethereum GoAll versions to 1.13.4None

Products include Ethereum Go Ethereum.

How do I fix CVE-2023-42319?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-42319 exists.

Sources

Also known as GHSA-v9jh-j8px-98vq.

Is CVE-2023-42319 in your software?

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

Check your SBOMs for free