You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EthosContracts (EthosVouch, ReputationMarket, ...) are UUPSUpgradeable. However, the current implementation has multiple issues regarding upgradability.
The Ethos contracts are meant to be upgradeable. However, it inherits contracts that are not upgrade-safe.
Radiant Ginger Raven
Medium
Corruptible Upgradability Pattern
Summary
The EthosContracts (EthosVouch, ReputationMarket, ...) are UUPSUpgradeable. However, the current implementation has multiple issues regarding upgradability.
The Ethos contracts are meant to be upgradeable. However, it inherits contracts that are not upgrade-safe.
ReentrancyGuard
Root Cause
https://github.com/sherlock-audit/2024-11-ethos-network-ii/blob/main/ethos/packages/contracts/contracts/EthosVouch.sol#L67
https://github.com/sherlock-audit/2024-11-ethos-network-ii/blob/main/ethos/packages/contracts/contracts/ReputationMarket.sol#L36
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
Storage of vault contracts might be corrupted during upgrading.
PoC
No response
Mitigation
Use library from Openzeppelin-upgradeable instead, e.g. ReentrancyGuardUpgradeable
The text was updated successfully, but these errors were encountered: