Binance Hack
Altcoins

Zcash's Zebra 7.2.0 fixes bugs that let peers stall nodes

Zebra 7.2.0, the Zcash Foundation's node software, fixes three security bugs that could let peers stall sync or crash a node. All operators should upgrade.

Editor · 2 min read
Zcash's Zebra 7.2.0 fixes bugs that let peers stall nodes

In brief

  • Peers could crash Zebra by sending many transactions with invalid proofs.
  • Two other bugs let peers stall a node's sync by holding back blocks.

Why it matters

Zebra nodes help run the Zcash network, and these bugs let outside peers stop a node from syncing or crash it. The release is only supported until about December 17, so operators need to move quickly.

The Zcash Foundation released version 7.2.0 of Zebra, its Zcash node software, on December 1 with fixes for three security bugs, and said all node operators should upgrade, according to the release notes on GitHub.

The release is supported until around December 17, at block 3,684,728, so operators will need to move to the next version before then.

Three ways peers could stop a node

Two of the bugs let other nodes on the network stall a Zebra node's sync. In one, a peer that announced a block and never delivered it could take every download of that block. In the other, a peer could keep getting every retry for a block by listing it after the first 1,000 entries of a "not found" reply.

The third bug could crash a node. A peer could send many transactions with invalid Orchard or Ironwood proofs and cause a thread stack overflow. The fix limits how many proofs Zebra checks one by one after a batch fails.

The notes link each fix to a GitHub security advisory. Those advisories were not yet public when OnchainBeat checked, and the notes do not say whether any bug was used in an attack.

Faster work for miners

Zebra now starts a new block template right after it checks the proof of work on an incoming block, so miners get work sooner. The minimum fee a transaction needs to enter Zebra's mempool drops to 400 zatoshis per logical action, and Zebra nodes can now opt in to compact block relay with each other. Zcash holders recently backed a dev fund lockbox and 20-second blocks for the next network upgrade.

Related projects: Zcash

Editor

Nihatcan Yanik is an editor at OnchainBeat. He writes and edits OnchainBeat's Bitcoin, Ethereum and altcoin coverage. He previously wrote for Cointelegraph's sponsored content desk from 2024, explaining decentralized technologies, Web3 infrastructure and blockchain development.