All reports
mediumLogic errorSolana-Rust

WOOFi Swap on Solana: State changes are overwritten during anchor serialization when two accounts are the same

Payout
$0
Protocol
WOOFi Swap on Solana
Disclosed
Sep 24, 2024
Source
sherlock

WOOFi Solana's swap instruction accepts three pool accounts (from, to, quote) that can alias one another in base-to-quote and quote-to-base swaps. Because Anchor deserializes each account into an in-memory copy, lets the handler mutate them, and then serialize …

Similar reports

  • No close matches yet.

References

This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.