The sell function of a smart contract implementation for MyToken, 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/tree/master/MyToken | Third Party Advisory |
https://github.com/BlockChainsSecurity/EtherTokens/blob/master/ETHEREUMBLACK/sell%20integer%20overflow.md | Third Party Advisory |
Configurations
Information
Published : 2018-07-04 19:29
Updated : 2020-02-18 06:25
NVD link : CVE-2018-13211
Mitre link : CVE-2018-13211
JSON object : View
CWE
CWE-190
Integer Overflow or Wraparound
Products Affected
mytokenshr_project
- mytokenshr