{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-12056","published":"2018-08-15T17:29:00.610000Z","last_modified":"2026-06-17T01:37:04.927000Z","status":"Modified","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-338"],"cpes":[{"criteria":"cpe:2.3:a:all-for-one:all_for_one:-:*:*:*:*:*:*:*","part":"a","vendor":"all-for-one","product":"all_for_one"}],"cpes_truncated":false,"vendors":["all-for-one"],"products":["all-for-one/all_for_one"],"epss":{"score":0.01675,"percentile":0.77288,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2018-12056/","html_en":"/en/cve/CVE-2018-12056/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12056","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-12056"},"untrusted":{"vendor_name":"All-for-one","product_name":"All For One","desc_en":"The maxRandom function of a smart contract implementation for All For One, an Ethereum gambling game, generates a random value with publicly readable variables because the _seed value can be retrieved with a getStorageAt call. Therefore, it allows attackers to always win and get rewards.","affected":[],"references":[{"url":"https://lists.apache.org/thread.html/a62aa2706105d68f1c02023fe24aaa3c13b4d8a1826181fed07d9682%40%3Cnotifications.zookeeper.apache.org%3E","tags":[]},{"url":"https://medium.com/%40jonghyk.song/to-be-a-winner-of-ethereum-gambling-game-all-for-one-by-breaking-prng-1ab011163d40","tags":[]}]}}