OSV 1.4.0 · github-reviewed · 修改于 2026-06-10 21:41
发布时间
2026-05-22 03:50
GitHub 审查时间
2026-05-22 03:50
NVD 发布时间
2026-06-10 08:16
源文件
advisories/github-reviewed/2026/05/GHSA-mw3q-r9wh-h2ff/GHSA-mw3q-r9wh-h2ff.json
A remote, unauthenticated denial-of-service vulnerability in MerkleRadixTrie::put_chunk allows any state-sync peer to crash any node performing state synchronization (freshly joining nodes and recovering nodes).
A malicious peer can respond to a RequestChunk with a ResponseChunk::Chunk whose first TrieItem.key is the empty (ROOT) key. The chunk passes sorting, range, and Merkle-proof validation, but when put_raw tries to store a value at the root node, it calls TrieNode::put_value(...).unwrap(), which returns Err(RootCantHaveValue) and panics, aborting the node process. The panic fires on the first malicious chunk the victim commits; no rate limit or authentication gate caps the attack.
Impacted: any node running state sync against untrusted peers — this includes fresh nodes performing initial download and existing nodes recovering from data loss. Honest nodes never construct ROOT-keyed items, so non-syncing operation is unaffected.
See PR.
There is no safe in-process workaround: any peer serving state-sync data can trigger the crash and the code path is not guarded by a feature flag.
primitives/trie/src/trie.rs — put_chunk (around line 819) and put_raw (around line 351)