PT-2021-23148
CVE-2021-41173
·
Published
2021-10-25
·
Updated
2022-07-15
Description by
CVSS 3.1
5.7
MediumMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾