Описание
go-ipld-prime is an implementation of the InterPlanetary Linked Data (IPLD) spec interfaces, a batteries-included codec implementations of IPLD for CBOR and JSON, and tooling for basic operations on IPLD objects. Prior to 0.22.0, the DAG-CBOR decoder uses collection sizes declared in CBOR headers as Go preallocation hints for maps and lists. The decoder does not cap these size hints or account for their cost in its allocation budget, allowing small payloads to cause excessive memory allocation. This vulnerability is fixed in 0.22.0.
Ссылки
- Vendor Advisory
Уязвимые конфигурации
Конфигурация 1Версия до 0.22.0 (исключая)
cpe:2.3:a:protocol:go-ipld-prime:*:*:*:*:*:go:*:*
EPSS
Процентиль: 5%
0.00156
Низкий
6.2 Medium
CVSS3
Дефекты
CWE-770
Связанные уязвимости
CVSS3: 6.2
github
6 месяцев назад
go-ipld-prime: DAG-CBOR decoder unbounded memory allocation from CBOR headers
EPSS
Процентиль: 5%
0.00156
Низкий
6.2 Medium
CVSS3
Дефекты
CWE-770