highInteger overflow/underflowEVM-Solidity
Gondi: Division before multiplication could lead to users losing 50% in `WithdrawalQueue`
- Payout
- $0
- Protocol
- Gondi
- Disclosed
- Jul 25, 2024
- Source
- code4rena
Gondi's WithdrawalQueue_._getWithdrawablePerShare computes a per-share quotient by integer-dividing the queue's total balance by total shares, then multiplies that already-truncated value by the user's share count in _getAvailable. Because the division rounds …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-04-gondi-findings/issues/67
- https://github.com/code-423n4/2024-04-gondi-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.