{ "schema_version": "1.4.0", "id": "GHSA-86g8-6g97-8fhv", "modified": "2022-05-14T01:51:54Z", "published": "2022-05-14T01:51:54Z", "aliases": [ "CVE-2018-17968" ], "details": "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": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17968" }, { "type": "WEB", "url": "https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17968" } ], "database_specific": { "cwe_ids": [ "CWE-338" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2018-10-23T21:30:00Z" } }