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
Attackers can manipulate interest rates through supply/borrow cycling
Summary
Interest rate calculation vulnerability allows rate manipulation as updateInterestRatesAndVirtualBalance can be gamed through rapid supply/borrow cycles
Root Cause
The updateInterestRatesAndVirtualBalance function updates rates based on momentary utilization without time-weighted averaging
Fast Scarlet Beaver
Medium
Attackers can manipulate interest rates through supply/borrow cycling
Summary
Interest rate calculation vulnerability allows rate manipulation as
updateInterestRatesAndVirtualBalance
can be gamed through rapid supply/borrow cyclesRoot Cause
The
updateInterestRatesAndVirtualBalance
function updates rates based on momentary utilization without time-weighted averagingfunction executeBorrow(...) external {
Interest rate update without cooldown
https://github.com/sherlock-audit/2025-01-aave-v3-3/blob/main/aave-v3-origin/src/contracts/protocol/libraries/logic/BorrowLogic.sol#L121-L126
function executeRepay(...) external {
Interest rate manipulation in repay
https://github.com/sherlock-audit/2025-01-aave-v3-3/blob/main/aave-v3-origin/src/contracts/protocol/libraries/logic/BorrowLogic.sol#L190-L195
Internal Pre-conditions
External Pre-conditions
No response
Attack Path
Impact
PoC
Mitigation
The text was updated successfully, but these errors were encountered: