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
The problem is that the DEV wrongly assumes the minimum and maximum prices returned form the oracle are invalid and as such when the aggregator.minAnswer()/maxAnswer() are returned from the oracle, the function reverts
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
This can lead to a DOS
PoC
No response
Mitigation
Consider includoing the min and max prices
The text was updated successfully, but these errors were encountered:
Ambitious Cedar Monkey
Medium
Chainlink oracle min/max answer is wrongly used
Summary
nuAssetToEthRoundUp()
can cause a DOS even when valid prices are returned from the oracleRoot Cause
https://github.com/sherlock-audit/2024-12-numa-audit/blob/main/Numa/contracts/libraries/OracleUtils.sol#L74-L78
The problem is that the DEV wrongly assumes the minimum and maximum prices returned form the oracle are invalid and as such when the
aggregator.minAnswer()/maxAnswer()
are returned from the oracle, the function revertsInternal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
This can lead to a DOS
PoC
No response
Mitigation
Consider includoing the min and max prices
The text was updated successfully, but these errors were encountered: