GHSA-hjqq-29pw-96wj Nervos CKB node panics when processing a block which parent timestamp is too new

Not scored Published

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.

PackageAffectedFixed in
ckb crates.ioFrom 0.33.00.33.2
ckb crates.ioFrom 0.33.00.33.2
ckb crates.ioFrom 0.34.00.34.1
ckb crates.ioFrom 0.34.00.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.

Sources

Is GHSA-hjqq-29pw-96wj in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free