PositionManager
& PermitERC721
implement the EIP-4494
standard, which in DRAFT
status
#143
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
grade-a
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/2023-05-ajna/blob/276942bc2f97488d07b887c8edceaaab7a5c3964/ajna-core/src/PositionManager.sol#L42
https://github.com/code-423n4/2023-05-ajna/blob/276942bc2f97488d07b887c8edceaaab7a5c3964/ajna-core/src/base/PermitERC721.sol#L27
Vulnerability details
Impact
Using the
EIP-4494
standard in aDRAFT
state leads to the possibility that it may change at any moment before reachingFinal
, or it may never be approved. This, in turn, will result in thePositionManager.sol
contract that implements this standard:ERC721
(another standard may implement this functionality, and this standard will be forgotten)Proof of Concept
We can see that
PositionManager
followsPermitERC721
and
PermitERC721
implements theEIP-4494
standardTo check the status of the standard: https://eips.ethereum.org/EIPS/eip-4494
Tools Used
Recommended Mitigation Steps
Assessed type
ERC721
The text was updated successfully, but these errors were encountered: