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.
References
Link | Resource |
---|---|
https://etherscan.io/address/0x9d79c6e2a0222b9ac7bfabc447209c58fe9e0dcc#code | Patch Third Party Advisory |
Configurations
History
No history.
Information
Published : 2021-02-10 16:15
Updated : 2024-02-04 21:23
NVD link : CVE-2020-24837
Mitre link : CVE-2020-24837
CVE.ORG link : CVE-2020-24837
JSON object : View
Products Affected
zcfees_project
- zcfees
CWE
CWE-191
Integer Underflow (Wrap or Wraparound)