Closed sherlock-admin4 closed 2 months ago
Zealous Cornflower Nightingale
Low/Info
The dependencies used are not the latest. and the versions below 5.0.0 had this issue
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4460
this version can led to a risk of storage collisio
https://github.com/sherlock-audit/2024-06-leveraged-vaults/blob/main/leveraged-vaults-private/contracts/vaults/staking/BaseStakingVault.sol#L60
Manual Review
update to latest versions
1 comment(s) were left on this issue during the judging contest.
0xmystery commented:
Low/QA at most
Zealous Cornflower Nightingale
Low/Info
Update initializer modifier to prevent storage collision
Summary
The dependencies used are not the latest. and the versions below 5.0.0 had this issue
Vulnerability Detail
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4460
Impact
this version can led to a risk of storage collisio
Code Snippet
https://github.com/sherlock-audit/2024-06-leveraged-vaults/blob/main/leveraged-vaults-private/contracts/vaults/staking/BaseStakingVault.sol#L60
Tool used
Manual Review
Recommendation
update to latest versions