Integer Overflow Vulnerability in sellBuyerTokens Function of SwapToken Smart Contract Implementation

Integer Overflow Vulnerability in sellBuyerTokens Function of SwapToken Smart Contract Implementation

CVE-2018-13203 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

The sellBuyerTokens function of a smart contract implementation for SwapToken, an Ethereum token, has an integer overflow in which "amount * sellPrice" can be zero, consequently reducing a seller's assets.

Learn more about our Web Application Penetration Testing UK.