An integer underflow has been found in the latest version of ZCFees. The variables currPeriodIdx and lastPeriodExecIdx are both unsigned integers, and the result of the minus operation may be a negative integer which leads to an underflow. The attackers can modify the current timestamp of the transaction somehow and block the execution of the process function.
The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Zcfees | Zcfees_project | - (including) | - (including) |