Open code423n4 opened 1 year ago
0xSorryNotSorry marked the issue as primary issue
not sure if this should be medium or not
outdoteth requested judge review
outdoteth marked the issue as sponsor confirmed
Because the functionality breaks the EIP721 spec, I agree with Medium Severity, no funds are at risk
GalloDaSballo marked the issue as selected for report
Lines of code
https://github.com/code-423n4/2023-04-caviar/blob/cd8a92667bcb6657f70657183769c244d04c015c/src/Factory.sol#L161 https://github.com/code-423n4/2023-04-caviar/blob/cd8a92667bcb6657f70657183769c244d04c015c/src/PrivatePoolMetadata.sol#L17
Vulnerability details
Impact
Proof of Concept
_tokenId
is not a valid NFTExample
tokenURI
method does not revert:tokenURI()
for the deployed user's address, one can fetch information about a non-existent NFT.Tools Used
Recommended Mitigation Steps