Vulnerability Details : CVE-2018-13203
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.
Vulnerability category: Overflow
Products affected by CVE-2018-13203
- cpe:2.3:a:airswaptoken_project:airswaptoken:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-13203
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 37 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-13203
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
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.1/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-13203
-
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 occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-13203
-
https://github.com/BlockChainsSecurity/EtherTokens/tree/master/SwapToken
EtherTokens/SwapToken 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
Jump to