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

exploitDog

github логотип

GHSA-4hjg-cx88-g9f9

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

Описание

Data races in futures-intrusive

GenericMutexGuard was given the Sync auto trait as long as T is Send due to its contained members. However, since the guard is supposed to represent an acquired lock and allows concurrent access to the underlying data from different threads, it should only be Sync when the underlying data is.

This is a soundness issue and allows data races, potentially leading to crashes and segfaults from safe Rust code.

The flaw was corrected by adding a T: Send + Sync bound for GenericMutexGuard's Sync trait.

Пакеты

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

futures-intrusive

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

< 0.4.0

0.4.0

EPSS

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

5.5 Medium

CVSS3

Дефекты

CWE-362

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

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

An issue was discovered in the futures-intrusive crate before 0.4.0 for Rust. GenericMutexGuard allows cross-thread data races of non-Sync types.

EPSS

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

5.5 Medium

CVSS3

Дефекты

CWE-362