Lucene search

K
osvGoogleOSV:GHSA-MCMR-49X3-4JQM
HistoryNov 02, 2022 - 6:15 p.m.

ckb type_id script resume may randomly fail

2022-11-0218:15:07
Google
osv.dev
8

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.

CPENameOperatorVersion
ckblt0.102.0
ckbge0.100.0