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

exploitDog

github логотип

GHSA-4gj3-6r43-3wfc

Опубликовано: 10 фев. 2023
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

IPFS go-unixfsnode subject to DOS via HAMT Decoding Panics

Impact

Trying to read malformed HAMT sharded directories can cause panics and virtual memory leaks. If you are reading untrusted user input, an attacker can then trigger a panic.

This is caused by a bogus fanout parameter in the HAMT directory nodes. This includes checks returned in ipfs/go-bitfield GHSA-2h6c-j3gf-xp9r, as well as limiting the fanout to <= 1024 (to avoid attempts of arbitrary sized allocations).

Patches

References

Пакеты

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

github.com/ipfs/go-unixfsnode

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

< 1.5.2

1.5.2

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-400

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

CVSS3: 5.9
nvd
почти 3 года назад

github.com/ipfs/go-unixfsnode is an ADL IPLD prime node that wraps go-codec-dagpb's implementation of protobuf to enable pathing. In versions priot to 1.5.2 trying to read malformed HAMT sharded directories can cause panics and virtual memory leaks. If you are reading untrusted user input, an attacker can then trigger a panic. This is caused by bogus fanout parameter in the HAMT directory nodes. Users are advised to upgrade. There are no known workarounds for this vulnerability.

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-400