Advisory

GHSA-ppjg-v974-84cm

Also known as: CVE-2023-40591, GO-2023-2046

Summary

Go-Ethereum vulnerable to denial of service via malicious p2p message

Details

Impact

A vulnerable node, can be made to consume unbounded amounts of memory when handling specially crafted p2p messages sent from an attacker node.

Details

The p2p handler spawned a new goroutine to respond to ping requests. By flooding a node with ping requests, an unbounded number of goroutines can be created, leading to resource exhaustion and potentially crash due to OOM.

Patches

The fix is included in geth version 1.12.1-stable, i.e, 1.12.2-unstable and onwards.

Fixed by https://github.com/ethereum/go-ethereum/pull/27887

Workarounds

No known workarounds.

Credits

This bug was reported by Patrick McHardy and reported via [[email protected]](mailto:[email protected]).

References

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-09-06 19:49 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/ethereum/go-ethereum

Go · All systems

Affected

  • introduced 0, fixed 1.12.1-stable (semver)

Fixed versions

1.12.1-stable

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences