{"id":"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","modified":"2022-11-02T18:15:07Z","published":"2022-11-02T18:15:07Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-11-02T18:15:07Z","nvd_published_at":null,"cwe_ids":[],"severity":"HIGH"},"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"}],"affected":[{"package":{"name":"ckb","ecosystem":"crates.io","purl":"pkg:cargo/ckb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.100.0"},{"fixed":"0.102.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-mcmr-49x3-4jqm/GHSA-mcmr-49x3-4jqm.json"}}],"schema_version":"1.9.0"}