Mitigation Confirmed for M-02
mediumNote: Issue has not actually been resolved but for some reason I can't get my issues to submit without "Mitigation confirmed (no new vulnerabilities detected)" checked so I am doing this as a work around
Severity
Medium
Lines of code
Impact
During situation presented in M-02 submission the owner must choose between loss of funds or guaranteed downtime
Proof of Concept
The root issue of M-02 is still present and simply disabling the derivative isn't a very good solution. This is because when a derivative is disabled all funds inside that derivative are now irretrievable. In the scenario presented by the original submission the owner of the contract would have to wait until the underlying derivative is reverting before they can disable the contract, putting the owner in a catch 22 situation:
- Remove the derivative early and cause safETH holders to lose funds (since remainder will be inaccessible
- Users experience guaranteed downtimes on withdrawals/deposits
Tools Used
Manual Review
Recommended Mitigation Steps
Implement the original mitigation suggested in M-02
