{"id":"GHSA-mcmr-49x3-4jqm","aliases":["GHSA-mcmr-49x3-4jqm"],"related":[],"kind":"vulnerability","state":"published","title":"ckb type_id script resume may randomly fail","summary":"### 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"}],"published":"2022-11-02T18:15:07.000Z","modified":"2022-11-02T18:15:07.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.100.0","status":"affected","fixed":"0.102.0"}],"ecosystem":"crates.io","package":"ckb","purl":"pkg:cargo/ckb","source":"ghsa"}],"references":[{"url":"https://github.com/nervosnetwork/ckb/security/advisories/GHSA-mcmr-49x3-4jqm","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nervosnetwork/ckb","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/nervosnetwork/ckb/blob/v0.101.2/script/src/verify.rs#L871-L879","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mcmr-49x3-4jqm","url":"https://github.com/advisories/GHSA-mcmr-49x3-4jqm","licence":"CC-BY-4.0","modified":"2022-11-02T18:15:07.000Z"}],"updatedAt":"2026-11-25T22:56:42.664Z"}