Описание
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.
Уязвимые конфигурации
Конфигурация 1
cpe:2.3:a:1000guess:1000_guess:-:*:*:*:*:*:*:*
EPSS
Процентиль: 53%
0.003
Низкий
7.5 High
CVSS3
5 Medium
CVSS2
Дефекты
CWE-338
Связанные уязвимости
CVSS3: 7.5
github
больше 3 лет назад
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.
EPSS
Процентиль: 53%
0.003
Низкий
7.5 High
CVSS3
5 Medium
CVSS2
Дефекты
CWE-338