mediumLogic errorEVM-Solidity
Asymmetry Finance: Potential `stake()` DoS if sole safETH holder (ie: first depositor) unstakes `totalSupply` - 1
- Payout
- $0
- Protocol
- Asymmetry Finance
- Disclosed
- Jul 28, 2023
- Source
- code4rena
A division-by-zero vulnerability was identified in Asymmetry Finance's `SafEth.sol` contract during share price calculation. When the first depositor or last remaining user unstakes almost all of their tokens (`totalSupply - 1`), only 1 wei of `safETH` remains …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2023-03-asymmetry-findings/issues/1016
- https://github.com/code-423n4/2023-03-asymmetry-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.