Closed howlbot-integration[bot] closed 1 month ago
I don't see a relation with #64. There is no mention of markets closed, small withdraws, rounding, ...
Also, the provided PoC does not highlight the issue because it panics for underflow in the test code, not in the executeWithdrawal
call.
3docSec marked the issue as not a duplicate
3docSec marked the issue as unsatisfactory: Insufficient proof
Lines of code
https://github.com/code-423n4/2024-08-wildcat/blob/fe746cc0fbedc4447a981a50e6ba4c95f98b9fe1/src/market/WildcatMarketWithdrawals.sol#L217
Vulnerability details
Impact
This will revert unexpectedly and user wont be able to withdraw funds. It also dont allow other queue address to withdraw funds wheather pool has enough to fulfill there withdrawal request
Proof of Concept
Below function will revert the under or overflow error if there is less required amount to fulfill the request.
Tools Used
Manual review
Recommended Mitigation Steps
Add some checks to check the total amount of liquidity and how to address requests it can fulfill.
Assessed type
Under/Overflow