{"id":"CVE-2018-17968","aliases":["EUVD-2018-9708","GHSA-86g8-6g97-8fhv"],"status":"published","title":"A gambling smart contract implementation for RuletkaIo, an Ethereum gambling game, generates a...","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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01208,"percentile":0.68576,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-338"],"published":"2018-10-23T21:00:00Z","modified":"2026-06-17T01:46:37Z","products":[{"vendor":"ruletkaio","product":"ruletkaio"}],"references":[{"url":"https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17968","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17968"},{"url":"https://github.com/advisories/GHSA-86g8-6g97-8fhv"}],"sources":{"cve":[{"id":"CVE-2018-17968","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.","status":"published","published":"2018-10-23T21:00:00Z","modified":"2024-08-05T11:01:14.649Z","updated_at":"2026-11-02T14:35:07.354449Z"}],"euvd":[{"id":"EUVD-2018-9708","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.","status":"published","published":"2018-10-23T21:00:00Z","modified":"2024-08-05T11:01:14Z","updated_at":"2026-11-03T02:39:37.172177Z"}],"ghsa":[{"id":"GHSA-86g8-6g97-8fhv","title":"A gambling smart contract implementation for RuletkaIo, an Ethereum gambling game, generates a...","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.","status":"published","published":"2022-05-14T01:51:54Z","modified":"2023-02-02T05:04:40Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:51:55.393577Z"}],"nvd":[{"id":"CVE-2018-17968","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.","status":"published","published":"2018-10-23T21:30:53.737Z","modified":"2026-06-17T01:46:37.49Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:04:46.409324Z"}]}}
