Closed c4-submissions closed 1 year ago
minhquanym marked the issue as low quality report
minhquanym marked the issue as duplicate of #62
minhquanym marked the issue as duplicate of #566
MarioPoneder marked the issue as unsatisfactory: Insufficient quality
Lines of code
https://github.com/code-423n4/2023-10-wildcat/blob/c5df665f0bc2ca5df6f06938d66494b11e7bdada/src/market/WildcatMarketConfig.sol#L149-L159
Vulnerability details
Summary
After closing market, the borrower can set the interest rate.
Impact
Breaking calculations, loss of funds.
Vulnerability Details
After borrower closed the market, he can set interest rate, this means remaining totalSupply still earn interest while it can't be paid.
Tools Used
Manual Review
Recommended Mitigation Steps
Check market status in setAnnualInterest.
Assessed type
Other