You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If user borrows X and places collateral Y then other user can borrow the whole collateral Y by placing collateral C. When liquidator comes to liquidate the initial user there won't be enough collateral Y and liquidation will revert.
Borrowers can borrow the whole collateral and makes liquidations revert because liquidators will not be able to receive the collateral of the borrower.
Internal Pre-conditions
No response
External Pre-conditions
No response
Attack Path
User1: supply collateral 1000 ETH
User1: borrow X
User1 becomes liquidetable
User2 borrows 1000 ETH and places Y as collateral
Liquidator call will revert
Impact
Protocol can get bad debt by liquidations not happening on time.
Mini Indigo Yak
High
Borrowers are able to DOS liquidations
Summary
If user borrows X and places collateral Y then other user can borrow the whole collateral Y by placing collateral C. When liquidator comes to liquidate the initial user there won't be enough collateral Y and liquidation will revert.
https://github.com/sherlock-audit/2025-01-aave-v3-3/blob/main/aave-v3-origin/src/contracts/protocol/pool/Pool.sol#L223
Root Cause
Borrowers can borrow the whole collateral and makes liquidations revert because liquidators will not be able to receive the collateral of the borrower.
Internal Pre-conditions
No response
External Pre-conditions
No response
Attack Path
Impact
Protocol can get bad debt by liquidations not happening on time.
PoC
Paste this test in Pool.liquidations.t.sol:
Mitigation
Consider limiting the amounts users can borrow especially amounts that are used as collateral.
The text was updated successfully, but these errors were encountered: