Chainlink.latestRoundData() might return incorrect result. #108
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Lines of code
https://github.com/code-423n4/2022-06-connext/blob/main/contracts/contracts/core/connext/helpers/ConnextPriceOracle.sol#L125
Vulnerability details
Impact
Chainlink.latestRoundData() might return incorrect result.
Proof of Concept
You can find the same issue(M-05) here.
https://code4rena.com/reports/2022-04-backd
Tools Used
Manual Review
Recommended Mitigation Steps
You can modify L125 like below.
The text was updated successfully, but these errors were encountered: