Blocking of BPT Locking Via cooldown
#341
Labels
bug
Something isn't working
invalid
This doesn't seem right
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Lines of code
https://github.com/code-423n4/2022-05-aura/blob/4989a2077546a5394e3650bf3c224669a0f7e690/convex-platform/contracts/contracts/CrvDepositor.sol#L80
Vulnerability details
Issue: A malicious action by
daoOperator
can callsetCooldown
, blocking the ability to lock "Curve".daoOperator
also has the ability to set a newdaoOperator
address, which would make the effects permanent.Consequences: Permanently inoperable smart contract.
Mitigations:
Solution 1:
cooldown
functionality.cooldown
is required for business logic, ensure that thedaoOperator
is not vulnerable to governance attack.daoOperator
to set a new address.Solution 2:
The text was updated successfully, but these errors were encountered: