The LendingPool::getNFTPrice() function retrieves NFT prices from the oracle without validating the timestamp of the last price update, allowing stale prices to be used for critical collateral calculations.
The getNFTPrice() function retrieves the price and last update timestamp from the oracle but fails to validate if the price data is stale:
The function ignores the lastUpdateTimestamp value returned by the oracle. This means that even if the price data is days or weeks old, it will still be used for calculating collateral values and health factors.
Using stale price data can lead to incorrect collateral valuations used for borrowing limits
A stale high price could allow users to borrow more than their NFT is currently worth, while a stale low price could trigger unnecessary liquidations.
Add Maximum Price Age Check
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.