Beginner FriendlyFoundryDeFiOracle
100 EXP
View results
Submission Details
Severity: high
Valid

Storage collision

Summary

Storage collision because of changing the places/slots of the variables.

Vulnerability Details

When there is a collision the user/admin will assume he sets a certain variable but another the contract will set the variable that is reserved in that slot and that will lead to unwanted behaviour.

Impact

Medium

Tools Used

Manual Review

Recommendations

Keep the location of the declaration of the variables.
If a new variable needs to be implemented it can be implemented after the existing ones.

Updates

Lead Judging Commences

0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

storage collision on upgrade

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.