What’s Vulnerable › Vulnerabilities
CVE-2018-17987
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-12-26 · updated 2026-06-17
- Weakness: CWE-330
Description
The determineWinner function of a smart contract implementation for HashHeroes Tiles, an Ethereum game, uses a certain blockhash value in an attempt to generate a random number for the case where NUM_TILES equals the number of people who purchased a tile, which allows an attacker to control the awarding of the prize by being the last person to purchase a tile.
Affected products
- Hashheroes: all versions
References
- https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17987
- https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17987
Get alerted when CVE-2018-17987 or the next vulnerability affects your stack