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` labelMediumA valid Medium severity issueRewardA payout will be made for this issue
provideNewTermsForRoll front-runnable by malicious lender
Vulnerability Detail
provideNewTermsForRoll front-runnable by malicious lender just before borrower calls rollLoan.
Bad Lender can set high-debt arguments, so that borrower send much collateral than expected.
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` labelMediumA valid Medium severity issueRewardA payout will be made for this issue
james_wu
high
provideNewTermsForRoll front-runnable
Summary
provideNewTermsForRoll front-runnable by malicious lender
Vulnerability Detail
provideNewTermsForRoll front-runnable by malicious lender just before borrower calls
rollLoan
.Bad Lender can set high-debt arguments, so that borrower send much collateral than expected.
Impact
borrower send much collateral than expected
Code Snippet
https://github.com/sherlock-audit/2023-08-cooler/blob/main/Cooler/src/Cooler.sol#L282-L301
Tool used
Manual Review
Recommendation
Make lender not able to provide new term if already has request.
Duplicate of #243
The text was updated successfully, but these errors were encountered: