Closed sherlock-admin closed 1 year ago
0xAgro
medium
All contracts in scope use a compiler version of >=0.8.13. There is a known bug that is present in Solidity 0.8.13 as well as 0.8.14.
>=0.8.13
0.8.13
0.8.14
See here.
https://github.com/Hats-Protocol/hats-protocol/blob/fafcfdf046c0369c1f9e077eacd94a328f9d7af0/src/Hats.sol#L17
Manual Review
Upgrade all contracts past Solidity 0.8.14.
0xAgro
medium
Known Bug In Compiler Used
Summary
All contracts in scope use a compiler version of
>=0.8.13
. There is a known bug that is present in Solidity0.8.13
as well as0.8.14
.Vulnerability Detail
See here.
Impact
See here.
Code Snippet
https://github.com/Hats-Protocol/hats-protocol/blob/fafcfdf046c0369c1f9e077eacd94a328f9d7af0/src/Hats.sol#L17
Tool used
Manual Review
Recommendation
Upgrade all contracts past Solidity
0.8.14
.