Using the transferfrom feature of the ERC721 contract may freeze the user's NFT #22
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
grade-b
Q-02
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Lines of code
https://github.com/code-423n4/2022-11-looksrare/blob/main/contracts/TokenTransferrer.sol#L22
Vulnerability details
Impact
When sending an NFT using the transferFrom function of the ERC721 contract, you can freeze the NFT in the contract if the receiving address is a smart contract and does not support ERC721.
Proof of Concept
Tools Used
vscode
Recommended Mitigation Steps
Send the NFT using the 'safeTransferFrom' function of the ERC721 contract.
The text was updated successfully, but these errors were encountered: