Avoidable Multiplication Overflow Error could prevent execution of compulsory code executions causing DOS #403
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
grade-b
low quality report
This report is of especially low quality
Q-02
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Lines of code
https://github.com/code-423n4/2023-07-moonwell/blob/main/src/core/MultiRewardDistributor/MultiRewardDistributor.sol#L848
https://github.com/code-423n4/2023-07-moonwell/blob/main/src/core/MultiRewardDistributor/MultiRewardDistributor.sol#L892
Vulnerability details
Impact
Avoidable Multiplication Overflow Error could prevent execution of compulsory code executions causing denial of Service when necessary code needs to be executed but due preventable over flow error it cant be executed
Proof of Concept
https://github.com/code-423n4/2023-07-moonwell/blob/main/src/core/MultiRewardDistributor/MultiRewardDistributor.sol#L848
https://github.com/code-423n4/2023-07-moonwell/blob/main/src/core/MultiRewardDistributor/MultiRewardDistributor.sol#L892
Tools Used
Solidity,Hardhat
Recommended Mitigation Steps
division in fragment should prevent this
Assessed type
DoS
The text was updated successfully, but these errors were encountered: