highInteger overflow/underflowEVM-Solidity
Basin: Incorrectly assigned `decimal1` parameter upon decoding
- Payout
- $0
- Protocol
- Basin
- Disclosed
- Sep 3, 2024
- Source
- code4rena
A logic error in the Stable2.sol contract's decimal decoding function incorrectly defaults token decimals to 18. Due to a faulty conditional check, the contract fails to normalize decimal values for the second token when the first token's decimal value is non- …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-07-basin-findings/issues/17
- https://github.com/code-423n4/2024-07-basin-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.