GHSA-hjqq-29pw-96wj Nervos CKB node panics when processing a block which parent timestamp is too new
An attacker can cause a denial of service on Nervos CKB nodes by broadcasting blocks with future timestamps.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-hjqq-29pw-96wj?
GHSA-hjqq-29pw-96wj is a denial of service vulnerability in ckb, published on 2 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
Adversary can initiate DOS attack by broadcasting two consecutive blocks with timestamps in the future.
Patches
Please upgrade to v0.34.1
Which versions are affected by GHSA-hjqq-29pw-96wj?
4 open source packages ship an affected version, including ckb.
| Package | Affected | Fixed in |
|---|---|---|
ckb crates.io | From 0.33.0 | 0.33.2 |
ckb crates.io | From 0.33.0 | 0.33.2 |
ckb crates.io | From 0.34.0 | 0.34.1 |
ckb crates.io | From 0.34.0 | 0.34.1 |
How do I fix GHSA-hjqq-29pw-96wj?
Upgrade ckb to a fixed version for your release line: 0.33.2 or 0.34.1.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-hjqq-29pw-96wj being exploited?
There is no known exploitation of GHSA-hjqq-29pw-96wj in the wild and no public exploit code.