{"id":"CVE-2018-12454","published":"2018-06-17T12:00:00Z","modified":"2024-08-05T08:38:06Z","title":"The _addguess function of a simplelottery smart contract implementation for 1000 Guess, an Ethereum gambling game…","vendor":null,"product":null,"tier":"tail","description":{"text":"The _addguess function of a simplelottery smart contract implementation for 1000 Guess, an Ethereum gambling game, generates a random value with publicly readable variables such as the current block information and a private variable (which can be read with a getStorageAt call). Therefore, it allows attackers to always win and get rewards.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01253,"percentile":0.69253,"provenance":"source"},"cwes":[],"references":[{"url":"https://medium.com/%40jonghyk.song/attack-on-pseudo-random-number-generator-prng-used-in-1000-guess-an-ethereum-lottery-game-7b76655f953d","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":13.85}]},"euvd":{"id":"EUVD-2018-4425","exploited":false,"provenance":"source"}}