Read the docs
TI-2022-26670 Aliases GHSA-mcmr-49x3-4jqm

ckb type_id script resume may randomly fail

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Impact https://github.com/nervosnetwork/ckb/blob/v0.101.2/script/src/verify.rs#L871-L879 TypeIdSystemScript resume handle is not correct when max_cycles is not enough, `ScriptError::ExceededMaximumCycles` will be raised directly ranther than suspend as expect, and also because script_group execution order is random, so this will happen randomly.

Why it matters now

Fix Fixed ckb (crates.io): 0.102.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ckb (crates.io)0.100.0 to before 0.102.00.102.0Patch availableGHSA-mcmr-49x3-4jqm
  • ckb (crates.io) Vendor— Affected 0.100.0 to before 0.102.0 Fixed in 0.102.0 Patch available GHSA-mcmr-49x3-4jqm

Remediation

  • Fix · GHSA-mcmr-49x3-4jqm ckb (crates.io) Fixed in 0.102.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-mcmr-49x3-4jqm

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences