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
Link | Resource |
---|---|
https://github.com/BlockChainsSecurity/EtherTokens/blob/master/ETHEREUMBLACK/sell%20integer%20overflow.md | Third Party Advisory |
https://github.com/BlockChainsSecurity/EtherTokens/tree/master/SwapToken | Third Party Advisory |
https://github.com/BlockChainsSecurity/EtherTokens/blob/master/ETHEREUMBLACK/sell%20integer%20overflow.md | Third Party Advisory |
https://github.com/BlockChainsSecurity/EtherTokens/tree/master/SwapToken | Third Party Advisory |
Configurations
History
21 Nov 2024, 03:46
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/BlockChainsSecurity/EtherTokens/blob/master/ETHEREUMBLACK/sell%20integer%20overflow.md - Third Party Advisory | |
References | () https://github.com/BlockChainsSecurity/EtherTokens/tree/master/SwapToken - Third Party Advisory |
Information
Published : 2018-07-05 02:29
Updated : 2024-11-21 03:46
NVD link : CVE-2018-13203
Mitre link : CVE-2018-13203
CVE.ORG link : CVE-2018-13203
JSON object : View
Products Affected
airswaptoken_project
- airswaptoken
CWE
CWE-190
Integer Overflow or Wraparound