This issue was submitted in WildCredit's previous audit but has not been fixed, so raising the issue again. latestAnswer() is used in UniswapV3Oracle.sol over latestRoundData() to get the latest price data for WETH. There are no checks to ensure the data received is fresh.
Handle
leastwood
Vulnerability details
Impact
This issue was submitted in WildCredit's previous audit but has not been fixed, so raising the issue again.
latestAnswer()
is used inUniswapV3Oracle.sol
overlatestRoundData()
to get the latest price data forWETH
. There are no checks to ensure the data received is fresh.Proof of Concept
See the chainlink documentation.
Tools Used
Previous Audit
Recommended Mitigation Steps
Consider adding the following sanity checks.