Lucene search
+L

Wrong calculation in function LBRouter._getAmountsIn make user lose a lot of tokens when swap through JoePair (most of them will gifted to JoePair freely)

🗓️ 23 Oct 2022 00:00:00Reported by Code4renaType 
code423n4
 code423n4
🔗 github.com👁 22 Views

Function LBRouter._getAmountsIn has a calculation error leading to loss of tokens when swapping through JoePair. The error causes users to send a much larger amount of tokens than expected but only receive the exact amountOut in return

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

05 Dec 2022 00:00Current
7.1High risk
Vulners AI Score7.1
22