Skip to content
DoS Write-up Advanced

Sui Network Shutdown

A vulnerability in the Narwhal component of the Sui blockchain allowed an attacker to send a single request with many digests, causing a validator node to run out of memory and crash. This could lead to a temporary total network shutdown.

immunefi.com

Published on immunefi.com

On July 15th, the whitehat @F4lt responsibly disclosed a high severity vulnerability to Sui’s bug bounty program through Immunefi. This vulnerability had the potential to cause a significant disruption by enabling an attacker to crash the validator nodes of the Sui blockchain, resulting in a temporary total network…

The author, on immunefi.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The Narwhal client's certificate retrieval function lacked limits on the number of digests queried and timeouts, allowing memory exhaustion.

What the attacker needed

Ability to send requests to a validator

The fix

The vulnerability was fixed by removing the GetCertificates and GetPayloadAvailability handlers from Narwhal.

How it was found

  1. Set up a local testnet with validator nodes.
  2. Create a batch of malicious certificates.
  3. Send the batch to a validator node.
  4. Observe the validator's memory grow until an out-of-memory exception occurs.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A blockchain network relies on many computers (validators) to process transactions. A bug in the software let an attacker send a request that made a validator use too much memory and crash. If enough validators crash, the whole network stops working temporarily.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.