PT-2021-23148 · Unknown · Go-Ethereum
Holiman
+1
·
Published
2021-10-25
·
Updated
2022-07-15
·
CVE-2021-41173
CVSS v3.1
5.7
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Go Ethereum versions prior to 1.10.9
Description
A vulnerable node is susceptible to crash when processing a maliciously crafted message from a peer, via the
snap/1 protocol. The crash can be triggered by sending a malicious snap/1 GetTrieNodes package. In the trie.TryGetNode implementation, if the requested path is reached, the associated node will be returned, but the nilness is not checked, which can cause a panic.Recommendations
For versions prior to 1.10.9, upgrade to version 1.10.9 or apply the patch to resolve the issue. As a temporary workaround, consider restricting access to the
snap/1 protocol to minimize the risk of exploitation.Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Go-Ethereum