The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: medium
Invalid

Chainlink's latestRoundData may return stale result

Summary

Chainlink's latestRoundData may return stale result

Vulnerability Details

The contract uses Chailink to fetch prices of assets. It uses the Chainlink's latestRoundData method. However, the return data of the method is not checked for stale prices.

It's possible Chainlink returns old prices for different reasons such as the system being down or under attack or finding it difficult to return fresh prices due to congestion.

Impact

Stale prices can be used to calculate assets prices which can result to loss for the protocol and its users.

Tools Used

Manual review

Recommendations

Check the return prices to ensure it's not stale.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Chainlink-price

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue
Assigned finding tags:

Chainlink-price

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.