#45450 [SC-Insight] Outdated underlying chain data lead to shortened minting windows or DoS when minting fAssets
Description
Brief/Intro
Vulnerability Details
// @audit-issue can be outdated, will impact both lastUnderlyingBlock and lastUnderlyingTimestamp.
(uint64 lastUnderlyingBlock, uint64 lastUnderlyingTimestamp) = _lastPaymentBlock();
// @audit-issue will force user to have a shorter redemption period.
cr.firstUnderlyingBlock = state.currentUnderlyingBlock;
cr.lastUnderlyingBlock = lastUnderlyingBlock;
cr.lastUnderlyingTimestamp = lastUnderlyingTimestamp;Impact Details
Recommendation
Proof of Concept
Proof of Concept
Previous#45447 [SC-Medium] Executor cannot execute minting while the agent can execute the transaction and steal executor feeNext#45478 [SC-Medium] Minting Cap Check Doesn't Include `poolFeeUBA` in `selfMint` and `mintFromUnderlying`
Was this helpful?