Hello ArkProject,
The _escrow
mapping stores the address of the original token owner. However, the check in _isEscrowed
only ensures that the stored address is greater than 0x0
. This check could be insufficient, as it does not guarantee that the correct address is stored.
Mitigation: Instead of just checking if the address is greater than 0x0
, ensure that the stored address matches the expected owner or is not address(0x0)
before proceeding with operations.
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.