latestRoundData not check result accuracy and freshness #14
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
duplicate-15
edited-by-warden
satisfactory
satisfies C4 submission criteria; eligible for awards
Lines of code
https://github.com/code-423n4/2023-06-stader/blob/7566b5a35f32ebd55d3578b8bd05c038feb7d9cc/contracts/StaderOracle.sol#L646-L649
Vulnerability details
Impact
Not check the result's accuracy and freshness of the chainlink oracle, may use incorrect or stale price.
Proof of Concept
Tools Used
Manual Review
Recommended Mitigation Steps
Assessed type
Oracle
The text was updated successfully, but these errors were encountered: