code-423n4 / 2024-02-renft-mitigation-findings

0 stars 0 forks source link

M-04 MitigationConfirmed #11

Open c4-bot-1 opened 7 months ago

c4-bot-1 commented 7 months ago

Lines of code

Vulnerability details

C4 Issue

M-04: DoS of Rental stopping mechanism

Comments

Rentals that had an onStart() hook, were forced to have an onStop() hook as well, but that wasn't enforced. In addition, hooks could be disabled. The problem is that trying to end the rental on those situations, would always revert given how it was implemented.

Mitigation

PR-9: Make onStart and onStop hooks independent of one another

Conclusions

Successful Mitigation

c4-judge commented 7 months ago

gzeon-c4 marked the issue as satisfactory

c4-judge commented 7 months ago

gzeon-c4 marked the issue as confirmed for report