Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2021/05/26 12:0 a.m.6 views

Withdrawable.withdraw does not decrease pendingWithdrawals

Handle cmichel Vulnerability details Vulnerability Details The name pendingWithdrawals indicates that this storage variable tracks the withdrawals that need yet to be paid out which also matches the behavior in increaseWithdrawal. So it should be decreased when withdrawing in withdraw but it is...

6.9AI score
SaveExploits0
Code423n4
Code423n4
added 2021/05/25 12:0 a.m.10 views

withdraw() does not decrease pendingWithdrawals

Handle pauliax Vulnerability details Impact contract Withdrawable function withdraw does not subtract from pendingWithdrawals thus it only increases and could make function getReserveBalance revert when the balance pendingWithdrawals. Recommended Mitigation Steps Add this line to withdraw:...

6.9AI score
SaveExploits0
Rows per page
Query Builder