Vulnerability Details : CVE-2018-13215
The sell function of a smart contract implementation for Sample Token (STK) (Contract Name: cashBackMintable), an Ethereum token, has an integer overflow in which "amount * sellPrice" can be zero, consequently reducing a seller's assets.
Vulnerability category: Overflow
Exploit prediction scoring system (EPSS) score for CVE-2018-13215
Probability of exploitation activity in the next 30 days: 0.08%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 34 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2018-13215
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2018-13215
-
The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-13215
-
https://github.com/BlockChainsSecurity/EtherTokens/tree/master/cashBackMintable
EtherTokens/cashBackMintable at master · BlockChainsSecurity/EtherTokens · GitHubThird Party Advisory
-
https://github.com/BlockChainsSecurity/EtherTokens/blob/master/ETHEREUMBLACK/sell%20integer%20overflow.md
EtherTokens/sell integer overflow.md at master · BlockChainsSecurity/EtherTokens · GitHubThird Party Advisory
Products affected by CVE-2018-13215
- cpe:2.3:a:sample_token_project:sample_token:-:*:*:*:*:*:*:*