the getNFTPrice function in the LendingPool uses unvalidated oracle data, enabling users to exploit stale prices for liquidation avoidance and improper borrowing. This fundamentally undermines protocol solvency
In the function above, there is lastUpdateTimestamp that can be used to check the freshness of the price received but it is not checked, this leads to the stale prices being used.
Positions remain undercollateralized using outdated
Bad debt accumulates in protocol
Creates instant underwater positions when prices update
manual review
can implement a stale price check before returning the price:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.