{"id":"GHSA-mcmr-49x3-4jqm","aliases":[],"url":"https://o3.security/vulnerability/GHSA-mcmr-49x3-4jqm","summary":"ckb type_id script resume may randomly fail","details":"### Impact\nhttps://github.com/nervosnetwork/ckb/blob/v0.101.2/script/src/verify.rs#L871-L879\nTypeIdSystemScript 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.\n\n\n\n","published":"2022-11-02T18:15:07Z","modified":"2022-11-02T18:15:07Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"ckb","fixedVersion":"0.102.0"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/nervosnetwork/ckb/security/advisories/GHSA-mcmr-49x3-4jqm"},{"type":"PACKAGE","url":"https://github.com/nervosnetwork/ckb"},{"type":"WEB","url":"https://github.com/nervosnetwork/ckb/blob/v0.101.2/script/src/verify.rs#L871-L879"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2022-11-02T18:15:07Z"}}