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
{{ message }}
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelHighA valid High severity issueRewardA payout will be made for this issue
But later, contract will try to get funds again and this will fail in case if user doesn't have allowance, or in case if it has, then he will loose funds.
Impact
Function will not work as expected
Code Snippet
Provided above
Tool used
Manual Review
Recommendation
In case of native payment do not pull funds again.
sherlock-admin
changed the title
Broad Tweed Tiger - LMPVaultRouterBase.mint tries to get payment 2 times in case of native payment
rvierdiiev - LMPVaultRouterBase.mint tries to get payment 2 times in case of native payment
Oct 3, 2023
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelHighA valid High severity issueRewardA payout will be made for this issue
rvierdiiev
medium
LMPVaultRouterBase.mint tries to get payment 2 times in case of native payment
Summary
LMPVaultRouterBase.mint tries to get payment 2 times in case of native payment
Vulnerability Detail
LMPVaultRouterBase.mint
is payable and user can provide value with the call.In this case, payment will be deposited to the weth.
But later, contract will try to get funds again and this will fail in case if user doesn't have allowance, or in case if it has, then he will loose funds.
Impact
Function will not work as expected
Code Snippet
Provided above
Tool used
Manual Review
Recommendation
In case of native payment do not pull funds again.
Duplicate of #1
The text was updated successfully, but these errors were encountered: