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

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-11-02T18:14:30.000Z
- Modified: 2022-11-02T18:14:30.000Z

## 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

(As written by GitHub Advisory Database.)

## Affected

- ckb (crates.io): before 0.101.1

## References

- <https://github.com/nervosnetwork/ckb/security/advisories/GHSA-7fw6-6mfj-g3q2> (web)
- <https://github.com/nervosnetwork/ckb/pull/1646/files#diff-c4e017b67c1b3005ca0c446a9b0879571aa36a858b1f7ddd1b9328a884e3214bR171-R176> (web)
- <https://github.com/nervosnetwork/ckb> (package)

## Sources

- GitHub Advisory Database: [GHSA-7fw6-6mfj-g3q2](https://github.com/advisories/GHSA-7fw6-6mfj-g3q2), CC-BY-4.0, modified 2022-11-02

---

Page: https://cve.day/GHSA-7fw6-6mfj-g3q2 · Whole record: https://cve.day/GHSA-7fw6-6mfj-g3q2.json · Rebuilt by cve.day 2026-11-25T22:56:42.325Z
