VULNERABILITY INTELLIGENCE
CVE-2018-17968
CVSS score7.5 HIGH
EPSS probability1.21%
CISA KEVNot currently listed
Published2018-10-23
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
A gambling smart contract implementation for RuletkaIo, an Ethereum gambling game, generates a random value that is predictable by an external contract call. The developer wrote a random() function that uses a block timestamp and block hash from the Ethereum blockchain. This can be predicted by writing the same random function code in an exploit contract to determine the deadSeat value.
Weakness classification
- CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Primary references
- cve@mitre.org — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory