Skip to content

GHSA-7fw6-6mfj-g3q2 ckb: Transaction header_deps validation issue (network forking)

Unknown
Published
Updated
Exploit status
No public exploit known

Description

Impact

fn HeaderChecker#check_valid skipped main chain checking after this PR: https://github.com/nervosnetwork/ckb/pull/1646/files#diff-c4e017b67c1b3005ca0c446a9b0879571aa36a858b1f7ddd1b9328a884e3214bR171-R176

It will cause network forking if one transaction is using a forked block header which is not exists in local node's storage.

Patches

0.101.1 and later versions

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io ckb(crates.io) < 0.101.1; <= 0.101.0 0.101.1 Fixed

Affected products

ProductAffected versionsFixed in
crates.io ckb(crates.io) <= 0.101.0 No fix listed
crates.io ckb(crates.io) < 0.101.1 0.101.1

References