Security mailing lists by PureSourceCode

GHSA-mcmr-49x3-4jqm

HIGH

ckb type_id script resume may randomly fail

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.

Published
2 Nov 2022
Last modified
2 Nov 2022
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io ckb >= 0.100.0, < 0.102.0 0.102.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.