52312 sc low cooldown coalescing bug unintended cooldown extension for prior unstakes
Description
Brief/Intro
Vulnerability Details
finalNewCooledAmountForSlot = currentCooledAmountInSlot + amount;
cooldownEntrySlot.amount = finalNewCooledAmountForSlot;
cooldownEntrySlot.cooldownEndTime = newCooldownEndTime; // <-- overwrites prior endImpact Details
References
Proof of Concept
Recommendation
Previous50493 sc low immutable proxy implementation mapping in restrictionsfactory breaks upgrade logicNext51816 sc low yield distribution can be front run to steal rounding remainder as last holder
Was this helpful?