You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2023. It is now read-only.
The _latestAnswer64x64 function in the PricerInternal contract is used to determine the current price for the underlying asset. There is however no check to ensure that the data returned is recent enough to be valid.
ArbitraryExecution
medium
Stale data in Oracle data feed
The _latestAnswer64x64 function in the PricerInternal contract is used to determine the current price for the underlying asset. There is however no check to ensure that the data returned is recent enough to be valid.
Recommendation
Use best practices to ensure that the data is valid. For example, consider checking against the updatedAt variable returned in the result data.
Duplicate of #137
The text was updated successfully, but these errors were encountered: