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
Incorrect address of oracle in DualOracleChainlinkUniV3
Summary
DualOracleChainlinkUniV3 has a hardcoded static oracle address that does not correspond to a valid contract on Base, all calls to _updateExchangeRate() will revert, breaking the protocol on Base.
The issue is that 0xB210CE856631EeEB767eFa666EC7C1C57738d438 is not an oracle on Base
Internal Pre-conditions
None
External Pre-conditions
None
Attack Path
Because it is in a function and not in the constructor, the DualOracle will be deployed, but getPrices will always revert.
Impact
oracle.getPrices() is called in _updateExchangeRate(). This means all the FraxlendPairCore functions will break on Base, essentially rendering a key functionality the protocol useless on that chain.
PoC
No response
Mitigation
No response
The text was updated successfully, but these errors were encountered:
Chilly Wool Ladybug
Medium
Incorrect address of oracle in DualOracleChainlinkUniV3
Summary
DualOracleChainlinkUniV3
has a hardcoded static oracle address that does not correspond to a valid contract onBase
, all calls to_updateExchangeRate()
will revert, breaking the protocol onBase
.Root Cause
getPrices
uses a static oracleThe issue is that
0xB210CE856631EeEB767eFa666EC7C1C57738d438
is not an oracle onBase
Internal Pre-conditions
None
External Pre-conditions
None
Attack Path
Because it is in a function and not in the constructor, the
DualOracle
will be deployed, butgetPrices
will always revert.Impact
oracle.getPrices() is called in
_updateExchangeRate()
. This means all theFraxlendPairCore
functions will break onBase
, essentially rendering a key functionality the protocol useless on that chain.PoC
No response
Mitigation
No response
The text was updated successfully, but these errors were encountered: