Submitted by bin2chen, also found by zhaojie and minhquanym
_baseLoanChecks() is used to check whether Loan has expired:
The expiration checks in liquidation are as follows:
This way, both checks pass when block.timestamp == _loan.startTime + _loan.duration.
This leads to the problem that a malicious attacker can perform the following steps
when block.timestamp == _loan.startTime + _loan.duration:
Maliciously disrupting the end of the bidding, causing the NFT/funds to be locked.
Context
0xend (Gondi) confirmed
Gondi mitigated:
Status: Mitigation confirmed. Full details in reports from oakcobalt, minhquanym and bin2chen.
