5.9medium
DoS via malicious p2p message in Go-Ethereum
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.16% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-wjxw-gh3m-7pm5GO-2022-0456
Description
Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.17, a vulnerable node, if configured to use high verbosity logging, can be made to crash when handling specially crafted p2p messages sent from an attacker node. Version 1.10.17 contains a patch that addresses the problem. As a workaround, setting loglevel to default level (`INFO`) makes the node not vulnerable to this attack.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ethereum go-ethereum | < 1.10.17 | CVE List |
| github.com/ethereum/go-ethereum (Go) | before 1.10.17 | GitHub Advisory Database, Go Vulnerability Database |
| ethereum go_ethereum | before 1.10.17 | NVD |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.17, a vulnerable node, if configured to use high verbosity logging, can be made to crash when handling specially crafted p2p messages sent from an attacker node. Version 1.10.17 contains a patch that addresses the problem. As a workaround, setting loglevel to default level (`INFO`) makes the node not vulnerable to this attack.
GitHub Advisory Database
Impact
A vulnerable node, if configured to use high verbosity logging, can be made to crash when handling specially crafted p2p messages sent from an attacker node.
Patches
The following PR addresses the problem: https://github.com/ethereum/go-ethereum/pull/24507
Workarounds
Aside from applying the PR linked above, setting loglevel to default level (INFO) makes the node not vulnerable to this attack.
Credits
This bug was reported by nrv via bounty@ethereum.org, who has gracefully requested that the bounty rewards be donated to Médecins sans frontières.
For more information
If you have any questions or comments about this advisory:
- Open an issue in go-ethereum
Go Vulnerability Database
DoS via malicious p2p message in Go Ethereum in github.com/ethereum/go-ethereum
NVD (es)
Go Ethereum es la implementación oficial en Golang del protocolo Ethereum. En versiones anteriores a 1.10.17, un nodo vulnerable, si está configurado para usar un registro de alta verbosidad, puede ser hecho caer cuando maneja mensajes p2p especialmente diseñados enviados desde un nodo atacante. La versión 1.10.17 contiene un parche que aborda el problema. Como mitigación, establecer el nivel de registro al nivel por defecto ("INFO") hace que el nodo no sea vulnerable a este ataque
References
| https://github.com/ethereum/go-ethereum/security/advisories/GHSA-wjxw-gh3m-7pm5 | advisory, patch, third-party-advisory, web | |
| https://github.com/ethereum/go-ethereum/pull/24507 | fix, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-29177 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-29177 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wjxw-gh3m-7pm5 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0456 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-29177 changed 2026-06-17 | Public domain |