NULL pointer dereference in go-ethereum - CVE-2021-41173

 

NULL pointer dereference in go-ethereum - CVE-2021-41173

Published: October 25, 2021 / Updated: April 27, 2026


Vulnerability identifier: #VU127992
CSH Severity: Medium
CVSSv4.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/E:U/U:Green
CVE-ID: CVE-2021-41173
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
go-ethereum
Software vendor:
Ethereum

Description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper handling of nil pointer values in the snap/1 request handler when processing a crafted snap/1 GetTrieNodes message from a peer. A remote attacker can send a specially crafted snap/1 GetTrieNodes request to cause a denial of service.

The issue can trigger a panic in vulnerable nodes during snap/1 protocol handling.


Remediation

Install security update from vendor's website.

External links