The buyLoan
function updates the loan with the new values, assigning msg.sender
address instead of the actual pool.lender
as a loan lender.
When a lender no longer desires to continue lending, and there is no lending pool available to provide the loan, they can send the loan to a liquidation auction. Anyone is then able to match an arbitrary pool with a live auction when the parameters of that pool match those of the auction or are more favorable to the borrower. Loan buyer calls buyLoan function, providing a pool and loan ID, which update loan parameters. However, the function assigns msg.sender
as a loan lender instead of the actual owner of the chosen pool, who may not have created any pool previously.
Borrowers may not be able to repay their debt.
Manual review
Assign the actual owner of pool instead of msg.sender
address.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.