PNS - The incorrect counting of profile addresses wrongly limits their total number #310
Labels
Sponsor Disputed
The sponsor disputed this issue's validity
Will Fix
The sponsor confirmed this issue will be fixed
PNS
Medium
The incorrect counting of profile addresses wrongly limits their total number
Summary
Each profile has two lists of addresses, added to it and active, and deleted. After the user deletes the address, he can add it again.
The problem will appear in the calculation of limits, because the re-added address appears on two lists, which is why it is counted twice towards the limit and unfairly deprives the user of the possibility of adding another address.
Root Cause
After re-register the address, it is not removed from the removed list, thus unfairly increasing the limit and limiting the user.
Internal pre-conditions
External pre-conditions
No response
Attack Path
No response
Impact
By blocking a user unfairly due to an incorrectly calculated total, the function of registering new addresses may be unfairly blocked earlier.
PoC
EthosProfile.registerAddress
Mitigation
You must remove the address from the deleted list in order to correctly calculate the total.
The text was updated successfully, but these errors were encountered: