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

exploitDog

github логотип

GHSA-m8h8-v6jh-c762

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

Описание

Incorrect buffer size in crossbeam-channel

The affected version of this crate's the bounded channel incorrectly assumes that Vec::from_iter has allocated capacity that same as the number of iterator elements. Vec::from_iter does not actually guarantee that and may allocate extra memory. The destructor of the bounded channel reconstructs Vec from the raw pointer based on the incorrect assumes described above. This is unsound and causing deallocation with the incorrect capacity when Vec::from_iter has allocated different sizes with the number of iterator elements.

Пакеты

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

crossbeam-channel

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

>= 0.4.3, < 0.4.4

0.4.4

EPSS

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

5.5 Medium

CVSS3

Дефекты

CWE-131

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

CVSS3: 5.5
ubuntu
около 5 лет назад

An issue was discovered in the crossbeam-channel crate before 0.4.4 for Rust. It has incorrect expectations about the relationship between the memory allocation and how many iterator elements there are.

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

An issue was discovered in the crossbeam-channel crate before 0.4.4 for Rust. It has incorrect expectations about the relationship between the memory allocation and how many iterator elements there are.

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

An issue was discovered in the crossbeam-channel crate before 0.4.4 fo ...

EPSS

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

5.5 Medium

CVSS3

Дефекты

CWE-131