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

exploitDog

github логотип

GHSA-686f-ch3r-xwmh

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

Описание

Data races in unicycle

Affected versions of this crate unconditionally implemented Send & Sync for types PinSlab<T> & Unordered<T, S>. This allows sending non-Send types to other threads and concurrently accessing non-Sync types from multiple threads.

This can result in a data race & memory corruption when types that provide internal mutability without synchronization are contained within PinSlab<T> or Unordered<T, S> and accessed concurrently from multiple threads.

The flaw was corrected in commits 92f40b4 & 6a6c367 by adding trait bound T: Send to Send impls for PinSlab<T> & Unordered<T, S> and adding T: Sync to Sync impls for PinSlab<T> & Unordered<T, S>.

Пакеты

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

unicycle

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

< 0.7.1

0.7.1

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-119
CWE-362

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

CVSS3: 8.1
nvd
больше 4 лет назад

An issue was discovered in the unicycle crate before 0.7.1 for Rust. PinSlab<T> and Unordered<T, S> do not have bounds on their Send and Sync traits.

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-119
CWE-362