Stale price can be used to shutdown market. Price is not updated on shutdown. Usually price is updated due to activity on orderbook.
But there is no guarantees that in extreme situation when protocol's collRatio is too low, this activity in orderbook will remain. As a result collRatio will be calculated with stale price (potentially lower than current) resulting in market shutdown by mistake.
Function _getAssetCollateralRatio() is used to calculate current collateral ratio. This function uses LibOracle.getPrice() which returns last saved price (potentially stale)
Potentially higher than current price will be used in calculation of market collateralRatio. It can overestimate debt and shutdown market with sufficient collRatio by mistake
Manual Review
Firstly update price:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.