Description
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.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_misc
https://github.com/BlockChainsSecurity/EtherTokens/tree/master/SwapToken
Third Party Advisory x_refsource_misc
https://github.com/BlockChainsSecurity/EtherTokens/blob/master/ETHEREUMBLACK/sell%20integer%20overflow.md
Scores
CVSS v3
7.5
EPSS
0.0101
EPSS Percentile
58.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Details
CWE
CWE-190
Status
published
Products (1)
airswaptoken_project/airswaptoken
Published
Jul 05, 2018
Tracked Since
Feb 18, 2026