The Snow::mintSnowman function contains an unbounded for look that mints NFTs one at a time based on the amount parameter.
Since amount is not capped, the caller can pass in a very large value, causing the transaction to exceed the block gas limit. This results in a failed transaction and and prevents minting for all uses under similar conditions.
Likelihood: High
Impact: High
High likelihood because the function accepts an unbounded user-defined parameter.
High impact as it can cause Denial of Service, making minting fail consistently for valid users due to excesive gas usage.
This results in a gas exhaustion error and reverts the transaction, making it impossible to mint in a single transaction
Impose a reasonable upper bound on the amount parameter to prevent abuse and unintentional failures.
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.