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.
Chainlink’s latestRoundData might return stale or incorrect results
Summary
The contract WSTETHOracle.sol calls out to a Chainlink oracle receiving the latestRoundData().
Vulnerability Detail
If there is a problem with Chainlink starting a new round and finding consensus on the new value for the oracle (e.g. Chainlink nodes abandon the oracle, chain congestion, vulnerability/attacks on the chainlink system) consumers of this contract may continue using outdated stale or incorrect data (if oracles are unable to submit no new round is started).
Impact
Stale prices that do not reflect the current market price anymore could be used which would influence the membership and cost share pricing.
Escalate for 1 USDC:
My finding was labelled Medium by 'sherlock-admin' (not by a bot) and is certainly valid.
It might have also a severe impact for the protocol and I think it should deserve a reward.
Escalate for 1 USDC:
My finding was labelled Medium by 'sherlock-admin' (not by a bot) and is certainly valid.
It might have also a severe impact for the protocol and I think it should deserve a reward.
You've created a valid escalation for 1 USDC!
To remove the escalation from consideration: Delete your comment.
To change the amount you've staked on this escalation: Edit your comment (do not create a new comment).
You may delete or edit your escalation comment anytime before the 48-hour escalation window closes. After that, the escalation becomes final.
w42d3n
medium
Chainlink’s latestRoundData might return stale or incorrect results
Summary
The contract WSTETHOracle.sol calls out to a Chainlink oracle receiving the latestRoundData().
Vulnerability Detail
If there is a problem with Chainlink starting a new round and finding consensus on the new value for the oracle (e.g. Chainlink nodes abandon the oracle, chain congestion, vulnerability/attacks on the chainlink system) consumers of this contract may continue using outdated stale or incorrect data (if oracles are unable to submit no new round is started).
Impact
Stale prices that do not reflect the current market price anymore could be used which would influence the membership and cost share pricing.
References
Code Snippet
src/wsteth/WSTETHOracle.sol
L47-48:
Tool used
Manual Review
Recommendation
Recommend adding the following checks:
The text was updated successfully, but these errors were encountered: