CVE-2018-17987Hashheroes
High 7.5 No auth needed
Follow: this CVE · Hashheroes · Hashheroes We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Dec 26, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-330
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Hashheroes.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashheroes | hashheroes | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory