MEDIUM5.7
GO-2022-0256
Panic via maliciously crafted message in github.com/ethereum/go-ethereum
Quick fix
GO-2022-0256 — github.com/ethereum/go-ethereum: upgrade to the fixed version with the command below.
go get github.com/ethereum/go-ethereum@v1.10.9Details
A maliciously crafted snap/1 protocol message can cause a panic.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/ethereum/go-ethereum
Introduced in:
0Fixed in: 1.10.9Fix
go get github.com/ethereum/go-ethereum@v1.10.9References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/ethereum/go-ethereum"]}'