The sell function of a smart contract implementation for PornCoin (PRNC), 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/PornCoin | 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/PornCoin | 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/PornCoin - Third Party Advisory |
Information
Published : 2018-07-05 02:29
Updated : 2024-11-21 03:46
NVD link : CVE-2018-13207
Mitre link : CVE-2018-13207
CVE.ORG link : CVE-2018-13207
JSON object : View
Products Affected
porn-coin
- porncoin
CWE
CWE-190
Integer Overflow or Wraparound