VULNERABILITY INTELLIGENCE

CVE-2018-12885

CVSS score5.9 MEDIUM
EPSS probability1.39%
CISA KEVNot currently listed
Published2018-08-07
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Description

The randMod() function of the smart contract implementation for MyCryptoChamp, an Ethereum 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, attackers can get powerful champs/items and get rewards.

Weakness classification

  • nvd@nist.gov: CWE-338

Primary references