Lucene search

K
code423n4Code4renaCODE423N4:2023-01-POPCORN-FINDINGS-ISSUES-850
HistoryMar 01, 2023 - 12:00 a.m.

Upgraded Q -> 2 from #752 [1677633810856]

2023-03-0100:00:00
Code4rena
github.com
4
multirewardescrow
reentrancy attack
vulnerability
external calls

Judge has assessed an item in Issue #752 as 2 risk. The relevant finding follows:

Possibility of MultiRewardEscrow.claimReward() to be vulnerable to a reentrancy attack
There are a bunch of external calls before setting accruedRewards[user][_rewardTokens[i]]to zero. Malicious actors can add some exploits on the external calls potentially draining the rewards pool of that reward token. It is recommended to refactor this conforming to the check-effects pattern


The text was updated successfully, but these errors were encountered:

All reactions