The ownerOf() function does not properly verify token ownership.
ownerOf()
calls _ownerOf()
which simply returns the mapped owner address. It does not verify that the token actually exists first.
This could allow ownerOf()
to return a non-zero owner for a non-existent token ID.
Makes it appear tokens are owned when they are not actually minted.
Could disrupt systems relying on ownerOf()
checks.
Manual
Call _exists()
first in ownerOf()
to properly validate.
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.