Lucene search
+L

Max withdrawable calculation is incorrect in asD contract

🗓️ 17 Nov 2023 00:00:00Reported by Code4renaType 
code423n4
 code423n4
🔗 github.com👁 13 Views

Max withdrawable calculation incorrect, leading to potential denial of service due to overflow. AS Dollar protocol allows depositing NOTE tokens for asD tokens which can later be withdrawn. Function withdrawCarry() incorrectly calculates max withdrawable amount, causing potential issues with withdrawing interests. Implemented normalization factor is incorrect. Detailed vulnerability description [here](https://github.com/code-423n4/2023-11-canto/blob/335930cd53cf9a137504a57f1215be52c6d67cb3/asD/src/asD.sol#L75

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation