Advisory

GHSA-7fw6-6mfj-g3q2

Also known as: None

Summary

ckb: Transaction header_deps validation issue (network forking)

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-11-02 18:14 UTC
Modified
2022-11-02 18:14 UTC

Affected packages and fixes

ckb

crates.io · All systems

Affected

  • introduced 0, fixed 0.101.1 (semver)

Fixed versions

0.101.1

Fix

  • Fixed version 0.101.1
    cargo update -p ckb --precise 0.101.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences