Zebra before 4.5.0 CPU Amplification via Uncapped getblocks/getheaders Locator Length
ZcashFoundation zebra · ZcashFoundation zebra-chain
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| zebrad crates.io |
|
|
| zebra-chain crates.io |
|
|
Original description
Zebra before 4.5.0 contains an uncontrolled resource consumption vulnerability that allows remote P2P peers to exhaust blocking-pool threads by sending oversized block locator vectors. Attackers can send getblocks or getheaders messages with up to 65,535 locator hashes, triggering per-hash chain lookups that degrade block validation, RPC, and mempool performance.