The burnBatchMultiple
function allows batch burning of tokens for multiple users without a limit on the array size, potentially enabling DoS attacks via large arrays.
File: MembershipERC1155.sol
Function: burnBatchMultiple
An attacker could pass an excessively large froms
array to burnBatchMultiple
, consuming significant gas and potentially causing a DoS for the contract.
This could result in high gas consumption and potentially a denial of service, making it costly or impractical for legitimate users to interact with the contract.
Implement a size limit for the froms
array to prevent excessive gas usage:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.