PT-2022-28261 · Ckb · Ckb

Published

2022-11-02

·

Updated

2022-11-02

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions ckb version 0.101.2
Description The issue arises when the max cycles is insufficient, causing ScriptError::ExceededMaximumCycles to be raised directly instead of suspending as expected. This occurs randomly due to the random execution order of script group.
Recommendations For version 0.101.2, consider modifying the TypeIdSystemScript resume handle to correctly suspend execution when max cycles is not enough, rather than directly raising ScriptError::ExceededMaximumCycles. As a temporary workaround, consider implementing a check to ensure max cycles is sufficient before executing the script to minimize the risk of random errors.

Related Identifiers

GHSA-MCMR-49X3-4JQM

Affected Products

Ckb