CVE-2023-40591 – github.com/ethereum/go-ethereum
Package
Manager: go
Name: github.com/ethereum/go-ethereum
Vulnerable Version: >=0 <1.12.1-stable
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00412 pctl0.60686
Details
Go-Ethereum vulnerable to denial of service via malicious p2p message ### 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 [bounty@ethereum.org](mailto:bounty@ethereum.org). ### References
Metadata
Created: 2023-09-06T19:49:46Z
Modified: 2023-11-08T17:39:39Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-ppjg-v974-84cm/GHSA-ppjg-v974-84cm.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-ppjg-v974-84cm
Finding: F002
Auto approve: 1