The getNFTPrice function in the LendingPool contract retrieves NFT prices from the oracle but fails to validate the staleness of the price data. This could lead to liquidations or borrowing using outdated price information.
The function retrieves both price and timestamp but only checks if the price is non-zero:
This price is used in critical operations but the staleness of the data is never checked
Using stale prices could lead to:
Under-collateralized positions being created
Delayed or missed liquidations
Unfair liquidations based on outdated prices
Manual Review
Validate price staleness in getNFTPrice
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.