Open code423n4 opened 3 years ago
cmichel
Description: safeApprove is now deprecated, see this comment.
safeApprove
When using one of these unsupported tokens, all transactions revert and the protocol cannot be used.
As per OpenZepplin documentation “whenever possible, use safeIncreaseAllowance and safeDecreaseAllowance instead”.
safeIncreaseAllowance
safeDecreaseAllowance
PR: https://github.com/pooltogether/v4-core/pull/220
The sponsor acknowledges and has mitigated in a subsequent PR
Handle
cmichel
Vulnerability details
Description:
safeApprove
is now deprecated, see this comment.Impact
When using one of these unsupported tokens, all transactions revert and the protocol cannot be used.
Recommended Mitigation Steps
As per OpenZepplin documentation “whenever possible, use
safeIncreaseAllowance
andsafeDecreaseAllowance
instead”.