Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-jm5c-rv3w-w83m

Опубликовано: 29 июн. 2021
Источник: github
Github: Прошло ревью
CVSS3: 6.5

Описание

Denial of service in geth

Impact

Denial-of-service (crash) during block processing

Details

Affected versions suffer from a vulnerability which can be exploited through the MULMOD operation, by specifying a modulo of 0: mulmod(a,b,0), causing a panic in the underlying library. The crash was in the uint256 library, where a buffer underflowed.

if `d == 0`, `dLen` remains `0`

and https://github.com/holiman/uint256/blob/4ce82e695c10ddad57215bdbeafb68b8c5df2c30/uint256.go#L451 will try to access index [-1].

The uint256 library was first merged in this commit, on 2020-06-08. Exploiting this vulnerabilty would cause all vulnerable nodes to drop off the network.

The issue was brought to our attention through a bug report, showing a panic occurring on sync from genesis on the Ropsten network.

It was estimated that the least obvious way to fix this would be to merge the fix into uint256, make a new release of that library and then update the geth-dependency.

Patches

Upgrade to v1.9.18 or higher

Workarounds

Not at this time

References

https://blog.ethereum.org/2020/11/12/geth_security_release/

For more information

If you have any questions or comments about this advisory:

Пакеты

Наименование

github.com/ethereum/go-ethereum

go
Затронутые версииВерсия исправления

>= 1.9.16, < 1.9.18

1.9.18

Наименование

github.com/holiman/uint256

go
Затронутые версииВерсия исправления

>= 0.1.0, < 1.1.1

1.1.1

EPSS

Процентиль: 66%
0.00526
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-125
CWE-191
CWE-400

Связанные уязвимости

CVSS3: 6.5
nvd
около 5 лет назад

Go Ethereum, or "Geth", is the official Golang implementation of the Ethereum protocol. In Geth before version 1.9.18, there is a Denial-of-service (crash) during block processing. This is fixed in 1.9.18.

CVSS3: 6.5
debian
около 5 лет назад

Go Ethereum, or "Geth", is the official Golang implementation of the E ...

EPSS

Процентиль: 66%
0.00526
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-125
CWE-191
CWE-400