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

exploitDog

github логотип

GHSA-wcvp-r8j8-47pc

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

Описание

Double free in toodee

When inserting rows from an iterator at a particular index, toodee would shift items over, duplicating their ownership. The space reserved for the new elements was based on the len() returned by the ExactSizeIterator.

This could result in elements in the array being freed twice if the iterator panics. Uninitialized or previously freed elements could also be exposed if the len() didn't match the number of elements.

These issues were fixed in commit ced70c17 by temporarily setting the length of the array smaller while processing it and adding assertions on the number of elements returned by the iterator.

Пакеты

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

toodee

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

< 0.3.0

0.3.0

EPSS

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

9.8 Critical

CVSS3

Дефекты

CWE-415

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

CVSS3: 9.8
nvd
почти 5 лет назад

An issue was discovered in the toodee crate before 0.3.0 for Rust. Row insertion can cause a double free upon an iterator panic.

EPSS

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

9.8 Critical

CVSS3

Дефекты

CWE-415