Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/03/20 12:0 a.m.17 views

Division by zero error causes KangarooVault to be DoS with funds locked inside

Lines of code Vulnerability details KangarooVault can be DoS with funds locked in the contract due to a division by zero error in getTokenPrice as it does not handle the scenario where getTotalSupply is zero. Impact Funds will be locked within the KangarooVault as shown in the PoC below and it is...

6.5AI score
SaveExploits0
Rows per page
Query Builder