HardhatDeFi
15,000 USDC
View results
Submission Details
Severity: high
Invalid

Aave V3 Struct Mismatch

Summary

The ReserveDataLegacy struct in IAave.sol may not match Aave V3’s ReserveData, leading to corrupted data.

Vulnerability Details

  • Location: IAave.sol

  • Code:

    struct ReserveDataLegacy { ... }
  • Issue: If the struct does not match Aave V3’s implementation, getReserveData will return incorrect data

Impact

  • High: Incorrect aTokenAddress or other fields could lead to fund loss or failed transactions.

Tools Used

  • Manual code review.

Recommendations

Use Aave’s official interface:

import {IPool} from "aave-v3-core/contracts/interfaces/IPool.sol";
Updates

Lead Judging Commences

bube Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!