#47108 [SC-High] selfCloseExitTo() can cause users to receive partial payments without validation, leading to permanent asset loss
Description
Brief/Intro
Vulnerability Details
// In CollateralPool.sol _selfCloseExitTo()
if (requiredFAssets < assetManager.lotSize() || _redeemToCollateral) {
// @audit BUG No check on agent vault balance -> Can lead to user receiving a loss
assetManager.redeemFromAgentInCollateral(
agentVault, _recipient, requiredFAssets);
}Impact Details
References
Proof of Concept
Proof of Concept
Previous#47094 [SC-Insight] Missing Event Emission in `AgentVault` and `CollateralPoolToken` Factory ContractsNext#47116 [SC-Insight] Undocumented Redemption Pool Fee Share potentially leading to confusion
Was this helpful?