{"id":"GHSA-59hh-656j-3p7v","revision":null,"records":[{"revision":"6724cd547664457b9dc73dae4cfe4517","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-41173","aliases":[],"title":"DoS via maliciously crafted p2p message","description":"Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.9, a vulnerable node is susceptible to crash when processing a maliciously crafted message from a peer. Version v1.10.9 contains patches to the vulnerability. There are no known workarounds aside from upgrading.","state":0,"publishedAt":"2021-10-26T14:05:12+00:00","modifiedAt":"2024-08-04T02:59:31.575+00:00","affected":[{"ecosystem":"Vendor product","name":"go-ethereum","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"go-ethereum\",\n                    \"vendor\": \"ethereum\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 1.10.9\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"severity":"MEDIUM"}],"references":["https://github.com/ethereum/go-ethereum/security/advisories/GHSA-59hh-656j-3p7v","https://github.com/ethereum/go-ethereum/pull/23801","https://github.com/ethereum/go-ethereum/commit/e40b37718326b8b4873b3b00a0db2e6c6d9ea738","https://github.com/ethereum/go-ethereum/releases/tag/v1.10.9"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-41173","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-41173","identifiers":["CVE-2021-41173"]},"retained":false,"historicalAffected":[]},{"revision":"eb91894a17ab485ca218a301557613d0","observedAt":"2026-11-24T05:28:05.162+00:00","statement":{"source":"euvd","id":"EUVD-2021-2158","aliases":["CVE-2021-41173","GHSA-59hh-656j-3p7v"],"title":"Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.9, a vulnerable node is susceptible to crash when processing a maliciously crafted message from a peer. Version v1.10.9 contains patches to th…","description":"Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.9, a vulnerable node is susceptible to crash when processing a maliciously crafted message from a peer. Version v1.10.9 contains patches to the vulnerability. There are no known workarounds aside from upgrading.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"severity":null}],"references":["https://github.com/ethereum/go-ethereum/security/advisories/GHSA-59hh-656j-3p7v","https://github.com/ethereum/go-ethereum/pull/23801","https://github.com/ethereum/go-ethereum/commit/e40b37718326b8b4873b3b00a0db2e6c6d9ea738","https://github.com/ethereum/go-ethereum/releases/tag/v1.10.9"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-2158","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 26, 2021, 2:05:12 PM","dateUpdated":"Aug 4, 2024, 2:59:31 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-2158","identifiers":["EUVD-2021-2158","CVE-2021-41173","GHSA-59hh-656j-3p7v"]},"retained":false,"historicalAffected":[]},{"revision":"b9cef68b8b044e8686f5bcbba2e991cb","observedAt":"2026-10-24T19:17:25.748+00:00","statement":{"source":"nvd","id":"CVE-2021-41173","aliases":[],"title":"Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.9, a vulnerable node is susceptible to crash when processing a maliciously crafted message from a peer. Version v1.10.9 contains patches to th…","description":"Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.9, a vulnerable node is susceptible to crash when processing a maliciously crafted message from a peer. Version v1.10.9 contains patches to the vulnerability. There are no known workarounds aside from upgrading.","state":0,"publishedAt":"2021-10-26T14:15:08.13+00:00","modifiedAt":"2026-06-17T04:08:01.383+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"severity":"MEDIUM"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","score":3.5,"severity":"LOW"}],"references":["https://github.com/ethereum/go-ethereum/commit/e40b37718326b8b4873b3b00a0db2e6c6d9ea738","https://github.com/ethereum/go-ethereum/pull/23801","https://github.com/ethereum/go-ethereum/releases/tag/v1.10.9","https://github.com/ethereum/go-ethereum/security/advisories/GHSA-59hh-656j-3p7v"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-41173","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-20","NVD-CWE-noinfo"],"productCriteria":["cpe:2.3:a:ethereum:go_ethereum:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2021-10-26T14:15:08.130","lastModified":"2026-06-17T04:08:01.383"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-41173","identifiers":["CVE-2021-41173"]},"retained":false,"historicalAffected":[]},{"revision":"f7acd5da18f84b73b3aaddc0754c810f","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-59hh-656j-3p7v","aliases":["CVE-2021-41173","GO-2022-0256"],"title":"Geth Node Vulnerable to DoS via maliciously crafted p2p message ","description":"### Impact\n\nA 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. \n\n### Details\n\nOn September 21, 2021, geth-team member Gary Rong (@rjl493456442) found a way to crash the snap request handler . \nBy using this vulnerability, a peer connected on the `snap/1` protocol could cause a vulnerable node to crash with a `panic`.\n\nIn the `trie.TryGetNode` implementation, if the requested path is reached, the associated node will be returned. However the nilness is\nnot checked there.\n\n```golang\nfunc (t *Trie) tryGetNode(origNode node, path []byte, pos int) (item []byte, newnode node, resolved int, err error) {\n\t// If we reached the requested path, return the current node\n\tif pos >= len(path) {\n\t\t// Although we most probably have the original node expanded, encoding\n\t\t// that into consensus form can be nasty (needs to cascade down) and\n\t\t// time consuming. Instead, just pull the hash up from disk directly.\n\t\tvar hash hashNode\n\t\tif node, ok := origNode.(hashNode); ok {\n\t\t\thash = node\n\t\t} else {\n\t\t\thash, _ = origNode.cache()\n\t\t}\n```\nMore specifically the `origNode` can be nil(e.g. the child of fullnode) and system can panic at line `hash, _ = origNode.cache()`. \n\nWhen investigating this, @holiman tried to find it via fuzzing, which uncovered a second crasher, also related to the snap `GetTrieNodes` package. If the caller requests a storage trie:\n```golang\n\t\t\t\t// Storage slots requested, open the storage trie and retrieve from there\n\t\t\t\taccount, err := snap.Account(common.BytesToHash(pathset[0]))\n\t\t\t\tloads++ // always account database reads, even for failures\n\t\t\t\tif account == nil {\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tstTrie, err := trie.NewSecure(common.BytesToHash(account.Root), triedb)\n```\nThe code assumes that `snap.Account` returns _either_ a non-nil response unless `error` is also provided. This is however not the case, since `snap.Account` can return `nil, nil`. \n\n### Patches\n\n```diff\n--- a/eth/protocols/snap/handler.go\n+++ b/eth/protocols/snap/handler.go\n@@ -469,7 +469,7 @@ func handleMessage(backend Backend, peer *Peer) error {\n \t\t\t\t// Storage slots requested, open the storage trie and retrieve from there\n \t\t\t\taccount, err := snap.Account(common.BytesToHash(pathset[0]))\n \t\t\t\tloads++ // always account database reads, even for failures\n-\t\t\t\tif err != nil {\n+\t\t\t\tif err != nil || account == nil {\n \t\t\t\t\tbreak\n \t\t\t\t}\n \t\t\t\tstTrie, err := trie.NewSecure(common.BytesToHash(account.Root), triedb)\ndiff --git a/trie/trie.go b/trie/trie.go\nindex 7ea7efa835..d0f0d4e2bc 100644\n--- a/trie/trie.go\n+++ b/trie/trie.go\n@@ -174,6 +174,10 @@ func (t *Trie) TryGetNode(path []byte) ([]byte, int, error) {\n }\n \n func (t *Trie) tryGetNode(origNode node, path []byte, pos int) (item []byte, newnode node, resolved int, err error) {\n+\t// If non-existent path requested, abort\n+\tif origNode == nil {\n+\t\treturn nil, nil, 0, nil\n+\t}\n \t// If we reached the requested path, return the current node\n \tif pos >= len(path) {\n \t\t// Although we most probably have the original node expanded, encoding\n@@ -193,10 +197,6 @@ func (t *Trie) tryGetNode(origNode node, path []byte, pos int) (item []byte, new\n \t}\n \t// Path still needs to be traversed, descend into children\n \tswitch n := (origNode).(type) {\n-\tcase nil:\n-\t\t// Non-existent path requested, abort\n-\t\treturn nil, nil, 0, nil\n-\n \tcase valueNode:\n \t\t// Path prematurely ended, abort\n \t\treturn nil, nil, 0, nil\n\n``` \nThe fixes were merged into [#23657](https://github.com/ethereum/go-ethereum/pull/23657), with commit [f1fd963](https://github.com/ethereum/go-ethereum/pull/23657/commits/f1fd963a5a965e643e52fcf805a2a02a323c32b8), and released as part of Geth [v1.10.9](https://github.com/ethereum/go-ethereum/tree/v1.10.9) on Sept 29, 2021. \n\n### Workarounds\n\nApply the patch above or upgrade to a version which is not vulnerable.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [go-ethereum](https://github.com/ethereum/go-ethereum/)\n* Email us at [security@ethereum.org](mailto:security@ethereum.org)\n","state":0,"publishedAt":"2021-10-25T19:42:57+00:00","modifiedAt":"2026-07-08T06:29:52.4937979+00:00","affected":[{"ecosystem":"Go","name":"github.com/ethereum/go-ethereum","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.10.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/ethereum/go-ethereum/security/advisories/GHSA-59hh-656j-3p7v","https://nvd.nist.gov/vuln/detail/CVE-2021-41173","https://github.com/ethereum/go-ethereum/pull/23657/commits/f1fd963a5a965e643e52fcf805a2a02a323c32b8","https://github.com/ethereum/go-ethereum/pull/23801","https://github.com/ethereum/go-ethereum/commit/e40b37718326b8b4873b3b00a0db2e6c6d9ea738","https://github.com/ethereum/go-ethereum","https://github.com/ethereum/go-ethereum/releases/tag/v1.10.9","https://pkg.go.dev/vuln/GO-2022-0256"],"sourceUrl":"https://github.com/advisories/GHSA-59hh-656j-3p7v","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-59hh-656j-3p7v","identifiers":["GHSA-59hh-656j-3p7v","CVE-2021-41173","GO-2022-0256"]},"retained":false,"historicalAffected":[]},{"revision":"da43797905ca453cad854ef01eab393f","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0256","aliases":["CVE-2021-41173","GHSA-59hh-656j-3p7v"],"title":"Panic via maliciously crafted message in github.com/ethereum/go-ethereum","description":"A maliciously crafted snap/1 protocol message can cause a panic.","state":0,"publishedAt":"2022-07-15T23:08:03+00:00","modifiedAt":"2024-05-20T16:03:47+00:00","affected":[{"ecosystem":"Go","name":"github.com/ethereum/go-ethereum","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.10.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/ethereum/go-ethereum/pull/23657/commits/f1fd963a5a965e643e52fcf805a2a02a323c32b8"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0256","license":"OSV · upstream source license applies","key":"osv:GO-2022-0256","identifiers":["GO-2022-0256","CVE-2021-41173","GHSA-59hh-656j-3p7v"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T14:28:46.1367144+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T14:28:46.1367144+00:00","lastSuccessAt":"2026-11-25T14:28:51.9077546+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:51.9080982+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-c8a5bbe81e5c97f1ef0204d9f424811c3ab0e015216b17be9cd9061ec365cc09","complete":true,"records":432153,"lastAttemptAt":"2026-11-25T15:28:37.3830721+00:00","lastSuccessAt":"2026-11-25T15:28:37.2582332+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.3830721+00:00","snapshotPublishedAt":"2026-11-25T14:30:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-20a49458ceae49e394c48dea1e375753","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T14:34:23.2072341+00:00","lastSuccessAt":"2026-11-25T14:34:23.203+00:00","error":"120 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T14:34:23.203+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13664,"expectedIdentifiers":13986,"failedIdentifiers":120},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T14:28:46.1367144+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T14:28:46.1367144+00:00","lastSuccessAt":"2026-11-25T14:28:52.1107389+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:52.1107403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-0706f4f26289468d8444f9f1b50f35d8","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T14:29:34.8783794+00:00","lastSuccessAt":"2026-11-25T14:29:34.81+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:29:34.81+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T14:28:43.5224151+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:43.5224151+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T15:28:37.4627555+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.4627555+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T14:28:43.9301039+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:43.9301039+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-13386314c41bf037eb8784b89525b249650641e645a6e70d1fe37f29e9ef714c","complete":true,"records":233128,"lastAttemptAt":"2026-11-25T15:28:44.4217768+00:00","lastSuccessAt":"2026-11-25T13:47:03.1039798+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:43.327083+00:00","snapshotPublishedAt":"2026-11-25T13:33:45+00:00","importing":true,"stagedRecords":199000,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}