Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/08/28 12:0 a.m.17 views

Using incorrect parameter for checking the reserve

Lines of code Vulnerability details Impact At line 549 within the swap function's code, the internal call to the function checkBalances checks the reserve for token x is carried out using xi + specifiedAmount instead of xi + roundedSpecifiedAmount. When using roundedSpecifiedAmount passes the che...

6.7AI score
SaveExploits0
Code423n4
Code423n4
added 2021/07/13 12:0 a.m.5 views

_wethWithdrawTo is vulnerable re-entrancy

Handle pauliax Vulnerability details Impact function withdrawBorrowETH invokes wethWithdrawTo and later checkMinReserve, however, the check of reserve is not necessary here, as function wethWithdrawTo also does that after transferring the ether. However, this reserve check might be bypassed as...

6.9AI score
SaveExploits0
Rows per page
Query Builder