github.com
https://github.com/nervosnetwork/ckb GHSA-MCMR-49X3-4JQM
ckb type_id script resume may randomly fail
Description
### 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.
Description source: GitHub Advisory
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
| GitHub Advisory | 0.100.0 to < 0.102.0 · Fixed in 0.102.0 | affected |
References
3github.com
https://github.com/nervosnetwork/ckb/blob/v0.101.2/script/src/verify.rs github.com
https://github.com/nervosnetwork/ckb/security/advisories/GHSA-mcmr-49x3-4jqm