Submitted by shw
A logic error in the burnFlashGovernanceAsset function that resets a users pendingFlashDecision allows that user to steal other users assets locked in future flash governance decisions. As a result, attackers can get their funds back even if they execute a malicious flash decision and the community burns their assets.
Referenced code:
DAO/FlashGovernanceArbiter.sol#L134
DAO/FlashGovernanceArbiter.sol#L146
Change line 134 to delete pendingFlashDecision[targetContract][user] instead of setting the pendingFlashDecision to the default.
gititGoro (Behodler) confirmed
