74656 bc critical gossip message id fn performs uncapped snappy decompression before deduplication enabling p2p memory amplification dos
Description
Brief / Intro
Vulnerability Details
1. compute_message_id decompresses untrusted gossip payloads with no output-size cap
2. MAX_GOSSIP_SIZE limits the compressed frame, not the decompressed payload
3. The vulnerable decompression happens before duplicate-cache suppression
4. Validate-queue limits and application validation also happen after message-ID computation
5. The P2P gossip port is externally reachable by default
Impact Details
References
Link to Proof of Concept
Proof of Concept
Goal
PoC artifacts
Run command
Observed result
What the PoC proves
3
5
Minimal attack shape
Previous75333 bc low off by one in batcher default frame size causes permanent blob encoding failure and synchronous livelock halting l2 finalizationNext75330 bc low mempool deadline after successful publish can abandon the next required nonce
Was this helpful?